Skip to content

Commit

Permalink
Changed 0 into '0'
Browse files Browse the repository at this point in the history
0 is not a production rule but a literal
  • Loading branch information
p512 committed Oct 10, 2016
1 parent 6d62084 commit ee3de44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
//! format := '{' [ argument ] [ ':' format_spec ] '}'
//! argument := integer | identifier
//!
//! format_spec := [[fill]align][sign]['#'][0][width]['.' precision][type]
//! format_spec := [[fill]align][sign]['#']['0'][width]['.' precision][type]
//! fill := character
//! align := '<' | '^' | '>'
//! sign := '+' | '-'
Expand Down

0 comments on commit ee3de44

Please sign in to comment.