Skip to content

Commit

Permalink
Rollup merge of rust-lang#33604 - tshepang:line-em-up, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
doc: line these comments up

Looks more nice, and same is done with prior examples
  • Loading branch information
eddyb committed May 15, 2016
2 parents 752137f + a181d2f commit 9c745e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
//! ```
//!
Expand Down

0 comments on commit 9c745e7

Please sign in to comment.