about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2016-10-05 20:27:47 -0400
committerWesley Wiser <wwiser@gmail.com>2016-10-07 09:53:23 -0400
commitbbd0040bb3c7f37f5af621a68dc212cdde2667ac (patch)
tree550450cddb8e9f2e8a3a02a15c1724d5734c2358
parente2bd2d83dd620ddf55eb5638c1e74bed616678e8 (diff)
downloadrust-bbd0040bb3c7f37f5af621a68dc212cdde2667ac.tar.gz
rust-bbd0040bb3c7f37f5af621a68dc212cdde2667ac.zip
Fix documentation for `write!` on `std::fmt` page
Fixes #36906
-rw-r--r--src/libcollections/fmt.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs
index beb3e6b3d4e..b095b8131b6 100644
--- a/src/libcollections/fmt.rs
+++ b/src/libcollections/fmt.rs
@@ -261,8 +261,8 @@
 //! This and `writeln` are two macros which are used to emit the format string
 //! to a specified stream. This is used to prevent intermediate allocations of
 //! format strings and instead directly write the output. Under the hood, this
-//! function is actually invoking the `write` function defined in this module.
-//! Example usage is:
+//! function is actually invoking the `write_fmt` function defined on the
+//! `std::io::Write` trait. Example usage is:
 //!
 //! ```
 //! # #![allow(unused_must_use)]