]> git.lizzy.rs Git - rust.git/commitdiff
doc: line these comments up
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 12 May 2016 21:25:33 +0000 (23:25 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Thu, 12 May 2016 21:25:34 +0000 (23:25 +0200)
Looks more nice, and same is done with prior examples

src/libcollections/fmt.rs

index ce1d6ec5a6478a688f462e55d5f4b95b7fff38cd..ca8cb25e1a44149021b011512acca6839ab12728 100644 (file)
@@ -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"
 //! ```
 //!