Skip to content

Commit 971a3af

Browse files
committed
doc: improve output
1 parent bc57899 commit 971a3af

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
@@ -300,7 +300,7 @@
300300
//! fn my_fmt_fn(args: fmt::Arguments) {
301301
//! write!(&mut io::stdout(), "{}", args);
302302
//! }
303-
//! my_fmt_fn(format_args!("or a {} too", "function"));
303+
//! my_fmt_fn(format_args!(", or a {} too", "function"));
304304
//! ```
305305
//!
306306
//! The result of the `format_args!` macro is a value of type `fmt::Arguments`.

0 commit comments

Comments
 (0)