aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-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();