Skip to content

Commit

Permalink
Rollup merge of rust-lang#33634 - tshepang:nicer-output, r=steveklabnik
Browse files Browse the repository at this point in the history
doc: improve output
  • Loading branch information
eddyb committed May 15, 2016
2 parents 76d50e6 + 971a3af commit b0c8972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit b0c8972

Please sign in to comment.