From 971a3afe4828ad37a47bbb23ecdfbb012f6770b6 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sat, 14 May 2016 12:35:02 +0200 Subject: [PATCH] doc: improve output --- src/libcollections/fmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs index ce1d6ec5a64..07a7028d6c9 100644 --- a/src/libcollections/fmt.rs +++ b/src/libcollections/fmt.rs @@ -300,7 +300,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`.