Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hello/print.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fn main() {
println!("{number:>5}", number=1);

// You can pad numbers with extra zeroes,
//and left-adjust by flipping the sign. This will output "10000".
// and left-adjust by flipping the sign. This will output "10000".
println!("{number:0<5}", number=1);

// You can use named arguments in the format specifier by appending a `$`
Expand Down