Skip to content

Commit 7dd2083

Browse files
committed
chore(lib): Enhance documentation for core::fmt::Formatter's write_fmt method
1 parent 9147777 commit 7dd2083

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: core/src/fmt/mod.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,11 @@ impl<'a> Formatter<'a> {
16261626
self.buf.write_str(data)
16271627
}
16281628

1629+
/// Glue for usage of the [`write!`] macro with implementors of this trait.
1630+
///
1631+
/// This method should generally not be invoked manually, but rather through
1632+
/// the [`write!`] macro itself.
1633+
///
16291634
/// Writes some formatted information into this instance.
16301635
///
16311636
/// # Examples

0 commit comments

Comments
 (0)