about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-05-16 02:00:18 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2016-05-16 02:00:18 +0300
commit9c745e7febca6e4cd57b91bc6790374868c534f7 (patch)
tree4f352b13aabb63bc3730df27d351ae17b7aeed89 /src
parent752137f9cbeea131d4869f903878dc15f71f09f2 (diff)
parenta181d2fad466b716006e0ad8b68c022a84e27494 (diff)
Rollup merge of #33604 - tshepang:line-em-up, r=GuillaumeGomez
doc: line these comments up

Looks more nice, and same is done with prior examples
Diffstat (limited to 'src')
-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 c8030c1efd6..5744caff45e 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"
 //! ```
 //!