From a181d2fad466b716006e0ad8b68c022a84e27494 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 12 May 2016 23:25:33 +0200 Subject: [PATCH] doc: line these comments up Looks more nice, and same is done with prior examples --- src/libcollections/fmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/fmt.rs b/src/libcollections/fmt.rs index ce1d6ec5a6478..ca8cb25e1a441 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" //! ``` //!