Skip to content

Commit

Permalink
Rollup merge of rust-lang#129001 - cblh:fix/128713, r=Noratrieb
Browse files Browse the repository at this point in the history
chore(lib): Enhance documentation for core::fmt::Formatter's write_fm…

fix: rust-lang#128713
  • Loading branch information
matthiaskrgr authored Aug 14, 2024
2 parents 16edf69 + 658904d commit 3b8aab7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1626,6 +1626,11 @@ impl<'a> Formatter<'a> {
self.buf.write_str(data)
}

/// Glue for usage of the [`write!`] macro with implementors of this trait.
///
/// This method should generally not be invoked manually, but rather through
/// the [`write!`] macro itself.
///
/// Writes some formatted information into this instance.
///
/// # Examples
Expand Down

0 comments on commit 3b8aab7

Please sign in to comment.