1
Fork 0

Rollup merge of #33634 - tshepang:nicer-output, r=steveklabnik

doc: improve output
This commit is contained in:
Eduard-Mihai Burtescu 2016-05-16 02:00:19 +03:00
commit b0c897279e

View file

@ -298,7 +298,7 @@
//! fn my_fmt_fn(args: fmt::Arguments) {
//! write!(&mut io::stdout(), "{}", args);
//! }
//! my_fmt_fn(format_args!("or a {} too", "function"));
//! my_fmt_fn(format_args!(", or a {} too", "function"));
//! ```
//!
//! The result of the `format_args!` macro is a value of type `fmt::Arguments`.