about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2016-05-12 23:25:33 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2016-05-12 23:25:34 +0200
commita181d2fad466b716006e0ad8b68c022a84e27494 (patch)
tree989a5f4d01ae52478a717bad33e0cce7270b6dd4
parente88defe71806ad190588e168e513bc1098f7c9fb (diff)
downloadrust-a181d2fad466b716006e0ad8b68c022a84e27494.tar.gz
rust-a181d2fad466b716006e0ad8b68c022a84e27494.zip
doc: line these comments up
Looks more nice, and same is done with prior examples
-rw-r--r--src/libcollections/fmt.rs2
1 files changed, 1 insertions, 1 deletions
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"
 //! ```
 //!