Apply suggestion
This commit is contained in:
parent
5a65d4d9fb
commit
17a45a686c
1 changed files with 2 additions and 3 deletions
|
@ -196,9 +196,8 @@ fn record_field_pat(p: &mut Parser) {
|
|||
|
||||
let m = p.start();
|
||||
|
||||
match p.current() {
|
||||
IDENT => name(p),
|
||||
_ => p.bump_any(),
|
||||
if !p.eat(INT_NUMBER) {
|
||||
name(p)
|
||||
}
|
||||
|
||||
p.bump_any();
|
||||
|
|
Loading…
Add table
Reference in a new issue