Skip to content

Commit b0c8972

Browse files
committed
Rollup merge of rust-lang#33634 - tshepang:nicer-output, r=steveklabnik
doc: improve output
2 parents 76d50e6 + 971a3af commit b0c8972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/fmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
//! fn my_fmt_fn(args: fmt::Arguments) {
299299
//! write!(&mut io::stdout(), "{}", args);
300300
//! }
301-
//! my_fmt_fn(format_args!("or a {} too", "function"));
301+
//! my_fmt_fn(format_args!(", or a {} too", "function"));
302302
//! ```
303303
//!
304304
//! The result of the `format_args!` macro is a value of type `fmt::Arguments`.

0 commit comments

Comments
 (0)