Rollup merge of #42832 - rthomas:doc-fmt, r=steveklabnik

Update docs for std::fmt::format #29355.

This rewords and removes the `Arguments` section from the docs for
fmt::format.

r? @steveklabnik
This commit is contained in:
Ariel Ben-Yehuda 2017-06-29 08:40:03 +00:00 committed by GitHub
commit 5682494cf8

View File

@ -498,12 +498,10 @@
use string;
/// The format function takes a precompiled format string and a list of
/// arguments, to return the resulting formatted string.
/// The `format` function takes an `Arguments` struct and returns the resulting
/// formatted string.
///
/// # Arguments
///
/// * args - a structure of arguments generated via the `format_args!` macro.
/// The `Arguments` instance can be created with the `format_args!` macro.
///
/// # Examples
///