diff --git a/crates/ra_parser/src/grammar/params.rs b/crates/ra_parser/src/grammar/params.rs index 897092a671..2445f71f76 100644 --- a/crates/ra_parser/src/grammar/params.rs +++ b/crates/ra_parser/src/grammar/params.rs @@ -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();