mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
reformat the world
This commit is contained in:
parent
5cb1d41a30
commit
12e3b4c70b
129 changed files with 727 additions and 2509 deletions
|
@ -141,14 +141,7 @@ fn tuple_expr(p: &mut Parser) -> CompletedMarker {
|
|||
}
|
||||
}
|
||||
p.expect(R_PAREN);
|
||||
m.complete(
|
||||
p,
|
||||
if saw_expr && !saw_comma {
|
||||
PAREN_EXPR
|
||||
} else {
|
||||
TUPLE_EXPR
|
||||
},
|
||||
)
|
||||
m.complete(p, if saw_expr && !saw_comma { PAREN_EXPR } else { TUPLE_EXPR })
|
||||
}
|
||||
|
||||
// test array_expr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue