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 464bc1d + 6b75bf5 commit 2afa5ebCopy full SHA for 2afa5eb
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