chore(lib): Enhance documentation for core::fmt::Formatter's write_fm… · patricklam/verify-rust-std@7dd2083 (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 7dd2083
chore(lib): Enhance documentation for core::fmt::Formatter's write_fmt method
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1626,6 +1626,11 @@ impl<'a> Formatter<'a> { | ||
| 1626 | 1626 | self.buf.write_str(data) |
| 1627 | 1627 | } |
| 1628 | 1628 | |
| 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 | + /// | |
| 1629 | 1634 | /// Writes some formatted information into this instance. |
| 1630 | 1635 | /// |
| 1631 | 1636 | /// # Examples |