mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
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();
|
let m = p.start();
|
||||||
|
|
||||||
match p.current() {
|
if !p.eat(INT_NUMBER) {
|
||||||
IDENT => name(p),
|
name(p)
|
||||||
_ => p.bump_any(),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p.bump_any();
|
p.bump_any();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue