mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
Simplify
This commit is contained in:
parent
13c6a34354
commit
d280c72338
1 changed files with 1 additions and 5 deletions
|
@ -127,11 +127,7 @@ fn pos_fields(p: &mut Parser) {
|
||||||
if !p.expect(L_PAREN) {
|
if !p.expect(L_PAREN) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
loop {
|
while !(p.at(R_PAREN) || p.at(EOF)) {
|
||||||
if p.at(R_PAREN) || p.at(EOF) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
let pos_field = p.start();
|
let pos_field = p.start();
|
||||||
visibility(p);
|
visibility(p);
|
||||||
types::type_ref(p);
|
types::type_ref(p);
|
||||||
|
|
Loading…
Reference in a new issue