Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/rust.ungram')
| -rw-r--r-- | crates/syntax/rust.ungram | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/syntax/rust.ungram b/crates/syntax/rust.ungram index 4b3e483bff..8e4f07d3b5 100644 --- a/crates/syntax/rust.ungram +++ b/crates/syntax/rust.ungram @@ -373,7 +373,9 @@ Literal = ) FloatLiteral = - 'float_number' + 'float_number_part' + '.'? + 'float_number_part'? PathExpr = Attr* Path |