doc: improve output
This commit is contained in:
parent
bc5789902b
commit
971a3afe48
@ -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`.
|
||||
|
Loading…
Reference in New Issue
Block a user