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 e0a721f commit c467fc6Copy full SHA for c467fc6
src/hello/print.md
@@ -39,7 +39,7 @@ fn main() {
39
println!("{number:>width$}", number=1, width=6);
40
41
// You can pad numbers with extra zeroes. This will output "000001".
42
- println!("{number:>0width$}", number=1, width=6);
+ println!("{number:0>width$}", number=1, width=6);
43
44
// Rust even checks to make sure the correct number of arguments are
45
// used.
0 commit comments