diff options
| author | Wesley Wiser <wwiser@gmail.com> | 2016-10-05 20:27:47 -0400 |
|---|---|---|
| committer | Wesley Wiser <wwiser@gmail.com> | 2016-10-07 09:53:23 -0400 |
| commit | bbd0040bb3c7f37f5af621a68dc212cdde2667ac (patch) | |
| tree | 550450cddb8e9f2e8a3a02a15c1724d5734c2358 | |
| parent | e2bd2d83dd620ddf55eb5638c1e74bed616678e8 (diff) | |
| download | rust-bbd0040bb3c7f37f5af621a68dc212cdde2667ac.tar.gz rust-bbd0040bb3c7f37f5af621a68dc212cdde2667ac.zip | |
Fix documentation for `write!` on `std::fmt` page
Fixes #36906
| -rw-r--r-- | src/libcollections/fmt.rs | 4 |
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)] |
