auto merge of #16187 : steveklabnik/rust/gh15830, r=alexcrichton

Fixes #15830.
This commit is contained in:
bors 2014-08-05 01:41:25 +00:00
commit 4b54110c33

View File

@ -127,9 +127,9 @@ impl<'a> Arguments<'a> {
/// to prevent modification.
///
/// The `format_args!` macro will safely create an instance of this structure
/// and pass it to a user-supplied function. The macro validates the format
/// string at compile-time so usage of the `write` and `format` functions can
/// be safely performed.
/// and pass it to a function or closure, passed as the first argument. The
/// macro validates the format string at compile-time so usage of the `write`
/// and `format` functions can be safely performed.
pub struct Arguments<'a> {
fmt: &'a [rt::Piece<'a>],
args: &'a [Argument<'a>],