We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 752137f + a181d2f commit 9c745e7Copy full SHA for 9c745e7
src/libcollections/fmt.rs
@@ -81,7 +81,7 @@
81
//!
82
//! ```
83
//! format!("{argument}", argument = "test"); // => "test"
84
-//! format!("{name} {}", 1, name = 2); // => "2 1"
+//! format!("{name} {}", 1, name = 2); // => "2 1"
85
//! format!("{a} {c} {b}", a="a", b='b', c=3); // => "a 3 b"
86
87
0 commit comments