mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +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) {
|
||||
return;
|
||||
}
|
||||
loop {
|
||||
if p.at(R_PAREN) || p.at(EOF) {
|
||||
break;
|
||||
}
|
||||
|
||||
while !(p.at(R_PAREN) || p.at(EOF)) {
|
||||
let pos_field = p.start();
|
||||
visibility(p);
|
||||
types::type_ref(p);
|
||||
|
|
Loading…
Reference in a new issue