Fix documentation for write! on std::fmt page

Fixes #36906
This commit is contained in:
Wesley Wiser 2016-10-05 20:27:47 -04:00
parent e2bd2d83dd
commit bbd0040bb3

View file

@ -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)]