Rollup merge of #129001 - cblh:fix/128713, r=Noratrieb

chore(lib): Enhance documentation for core::fmt::Formatter's write_fm…

fix: #128713
This commit is contained in:
Matthias Krüger 2024-08-14 05:05:52 +02:00 committed by GitHub
commit a4261a0bc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1626,6 +1626,11 @@ pub fn write_str(&mut self, data: &str) -> Result {
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