aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToby Dimmick <[email protected]>2020-02-06 20:04:35 +0000
committerToby Dimmick <[email protected]>2020-02-06 20:04:35 +0000
commite1921ea59c04a21725caea53777c739e0a954f78 (patch)
treec926b27f0369967b32ea35c32a719c24a077befb
parent7e66785859fc4a31fc3faf4848174699d3a2c020 (diff)
rustfmt
-rw-r--r--crates/ra_parser/src/grammar/params.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_parser/src/grammar/params.rs b/crates/ra_parser/src/grammar/params.rs
index 897092a67..2445f71f7 100644
--- a/crates/ra_parser/src/grammar/params.rs
+++ b/crates/ra_parser/src/grammar/params.rs
@@ -30,7 +30,7 @@ enum Flavor {
30 Function, // Includes trait fn params; omitted param idents are not supported 30 Function, // Includes trait fn params; omitted param idents are not supported
31 ImplFn, 31 ImplFn,
32 FnPointer, 32 FnPointer,
33 Closure 33 Closure,
34} 34}
35 35
36fn list_(p: &mut Parser, flavor: Flavor) { 36fn list_(p: &mut Parser, flavor: Flavor) {
@@ -38,7 +38,7 @@ fn list_(p: &mut Parser, flavor: Flavor) {
38 38
39 let (bra, ket) = match flavor { 39 let (bra, ket) = match flavor {
40 Closure => (T![|], T![|]), 40 Closure => (T![|], T![|]),
41 Function | ImplFn | FnPointer => (T!['('], T![')']) 41 Function | ImplFn | FnPointer => (T!['('], T![')']),
42 }; 42 };
43 43
44 let m = p.start(); 44 let m = p.start();