Skip to content

Commit 5f8c6da

Browse files
authored
Merge pull request #1437 from mautamu/master
Fix Typo in LRBE section; closes #1434
2 parents 68891e5 + c467fc6 commit 5f8c6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hello/print.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn main() {
3939
println!("{number:>width$}", number=1, width=6);
4040
4141
// You can pad numbers with extra zeroes. This will output "000001".
42-
println!("{number:>0width$}", number=1, width=6);
42+
println!("{number:0>width$}", number=1, width=6);
4343
4444
// Rust even checks to make sure the correct number of arguments are
4545
// used.

0 commit comments

Comments
 (0)