From acf66b1027858e504f870fa78ff6638f53be2408 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 4 Aug 2014 15:57:54 -0400 Subject: [PATCH] Clarify Argument docs. Fixes #15830. --- src/libcore/fmt/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 5277b473828fc..48bbc8401fe96 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -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>],