Skip to content

Commit 724aecc

Browse files
authored
Merge pull request #1466 from mautamu/fix-padding
Fix incorrect formatted print hint; closes #1459.
2 parents 28aca4a + 252e71d commit 724aecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hello/print/fmt.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ RGB (0, 0, 0) 0x000000
8080

8181
Two hints if you get stuck:
8282
* You [may need to list each color more than once][named_parameters],
83-
* You can [pad with zeros to a width of 2][fmt_width] with `:02`.
83+
* You can [pad with zeros to a width of 2][fmt_width] with `:0>2`.
8484

8585
### See also:
8686

0 commit comments

Comments
 (0)