mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 01:44:04 +00:00
Apply suggestion
This commit is contained in:
parent
5a65d4d9fb
commit
17a45a686c
@ -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…
Reference in New Issue
Block a user