diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-05-14 12:35:02 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-05-14 12:35:02 +0200 |
| commit | 971a3afe4828ad37a47bbb23ecdfbb012f6770b6 (patch) | |
| tree | 3664191e24387f8321db1af200a14afeb94ea568 | |
| parent | bc5789902bae5e3437bcfea9a06bc0fcb11726f0 (diff) | |
| download | rust-971a3afe4828ad37a47bbb23ecdfbb012f6770b6.tar.gz rust-971a3afe4828ad37a47bbb23ecdfbb012f6770b6.zip | |
doc: improve output
| -rw-r--r-- | src/libcollections/fmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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`. |
