diff --git a/src/hello/print.md b/src/hello/print.md index 8dfe637757..dd32a918f0 100644 --- a/src/hello/print.md +++ b/src/hello/print.md @@ -68,7 +68,7 @@ fn main() { // surrounding variable. Just like the above, this will output // " 1". 5 white spaces and a "1". let number: f64 = 1.0; - let width: usize = 6; + let width: usize = 5; println!("{number:>width$}"); } ```