Rollup merge of #33634 - tshepang:nicer-output, r=steveklabnik
doc: improve output
This commit is contained in:
commit
b0c897279e
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@
|
||||||
//! fn my_fmt_fn(args: fmt::Arguments) {
|
//! fn my_fmt_fn(args: fmt::Arguments) {
|
||||||
//! write!(&mut io::stdout(), "{}", args);
|
//! 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`.
|
//! The result of the `format_args!` macro is a value of type `fmt::Arguments`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue