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:
parent
ab5bec2553
commit
c5d078fd8c
@ -498,12 +498,10 @@ pub use core::fmt::{DebugList, DebugMap, DebugSet, DebugStruct, DebugTuple};
|
|||||||
|
|
||||||
use string;
|
use string;
|
||||||
|
|
||||||
/// The format function takes a precompiled format string and a list of
|
/// The `format` function takes an `Arguments` struct and returns the resulting
|
||||||
/// arguments, to return the resulting formatted string.
|
/// formatted string.
|
||||||
///
|
///
|
||||||
/// # Arguments
|
/// The `Arguments` instance can be created with the `format_args!` macro.
|
||||||
///
|
|
||||||
/// * args - a structure of arguments generated via the `format_args!` macro.
|
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user