mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
Fix typo in grammar: underscore, not minus, can appear amongst hex digits.
This commit is contained in:
parent
b26d434ad1
commit
b8dd2d8c67
@ -297,7 +297,7 @@ the following forms:
|
||||
num_lit : nonzero_dec [ dec_digit | '_' ] * num_suffix ?
|
||||
| '0' [ [ dec_digit | '_' ] + num_suffix ?
|
||||
| 'b' [ '1' | '0' | '_' ] + int_suffix ?
|
||||
| 'x' [ hex_digit | '-' ] + int_suffix ? ] ;
|
||||
| 'x' [ hex_digit | '_' ] + int_suffix ? ] ;
|
||||
|
||||
num_suffix : int_suffix | float_suffix ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user