Rollup merge of #36937 - wesleywiser:patch-3, r=frewsxcv

Fix documentation for `write!` on `std::fmt` page

Fixes #36906
This commit is contained in:
Manish Goregaokar 2016-10-08 16:52:43 +05:30 committed by GitHub
commit 1d204685a4

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