]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/fmt/mod.rs
Auto merge of #106696 - kylematsuda:early-binder, r=lcnr
[rust.git] / library / core / src / fmt / mod.rs
index 5f4a666de928439750910fc044105108d7c7a612..fa5073e3304d72e93dff7a042804e043b234caa8 100644 (file)
@@ -174,6 +174,11 @@ fn write_char(&mut self, c: char) -> Result {
     /// This method should generally not be invoked manually, but rather through
     /// the [`write!`] macro itself.
     ///
+    /// # Errors
+    ///
+    /// This function will return an instance of [`Error`] on error. Please see
+    /// [write_str](Write::write_str) for details.
+    ///
     /// # Examples
     ///
     /// ```
@@ -558,7 +563,7 @@ fn fmt(&self, fmt: &mut Formatter<'_>) -> Result {
 ///
 /// Derived `Debug` formats are not stable, and so may change with future Rust
 /// versions. Additionally, `Debug` implementations of types provided by the
-/// standard library (`libstd`, `libcore`, `liballoc`, etc.) are not stable, and
+/// standard library (`std`, `core`, `alloc`, etc.) are not stable, and
 /// may also change with future Rust versions.
 ///
 /// # Examples