Skip to content

Commit

Permalink
chore(lib): Enhance documentation for core::fmt::Formatter's write_fm…
Browse files Browse the repository at this point in the history
…t method
  • Loading branch information
cblh committed Aug 12, 2024
1 parent 9147777 commit 7dd2083
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 7dd2083

Please sign in to comment.