diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs index 0e8aaf66615..b842d62bf77 100644 --- a/src/libcollections/fmt.rs +++ b/src/libcollections/fmt.rs @@ -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`.