Apply suggestion

This commit is contained in:
kjeremy 2019-09-20 11:49:45 -04:00
parent 5a65d4d9fb
commit 17a45a686c

View File

@ -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();