mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 21:04:18 +00:00
rustfmt
This commit is contained in:
parent
7e66785859
commit
e1921ea59c
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ enum Flavor {
|
|||
Function, // Includes trait fn params; omitted param idents are not supported
|
||||
ImplFn,
|
||||
FnPointer,
|
||||
Closure
|
||||
Closure,
|
||||
}
|
||||
|
||||
fn list_(p: &mut Parser, flavor: Flavor) {
|
||||
|
|
@ -38,7 +38,7 @@ fn list_(p: &mut Parser, flavor: Flavor) {
|
|||
|
||||
let (bra, ket) = match flavor {
|
||||
Closure => (T![|], T![|]),
|
||||
Function | ImplFn | FnPointer => (T!['('], T![')'])
|
||||
Function | ImplFn | FnPointer => (T!['('], T![')']),
|
||||
};
|
||||
|
||||
let m = p.start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue