From: Tshepang Lekhonkhobe Date: Thu, 12 May 2016 21:25:33 +0000 (+0200) Subject: doc: line these comments up X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a181d2fad466b716006e0ad8b68c022a84e27494;p=rust.git doc: line these comments up Looks more nice, and same is done with prior examples --- diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs index ce1d6ec5a64..ca8cb25e1a4 100644 --- a/src/libcollections/fmt.rs +++ b/src/libcollections/fmt.rs @@ -81,7 +81,7 @@ //! //! ``` //! format!("{argument}", argument = "test"); // => "test" -//! format!("{name} {}", 1, name = 2); // => "2 1" +//! format!("{name} {}", 1, name = 2); // => "2 1" //! format!("{a} {c} {b}", a="a", b='b', c=3); // => "a 3 b" //! ``` //!