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.
1 parent 2b15c0a commit 6b75bf5Copy full SHA for 6b75bf5
src/hello/print.md
@@ -68,7 +68,7 @@ fn main() {
68
69
// For Rust 1.58 and above, you can directly capture the argument from a
70
// surrounding variable. Just like the above, this will output
71
- // " 1". 5 white spaces and a "1".
+ // " 1". 4 white spaces and a "1".
72
let number: f64 = 1.0;
73
let width: usize = 5;
74
println!("{number:>width$}");
0 commit comments