diff options
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/grammar/type_params.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/grammar/type_params.rs b/crates/ra_syntax/src/grammar/type_params.rs index fe9dba2ae..f33ec10f5 100644 --- a/crates/ra_syntax/src/grammar/type_params.rs +++ b/crates/ra_syntax/src/grammar/type_params.rs | |||
@@ -118,7 +118,7 @@ pub(super) fn opt_where_clause(p: &mut Parser) { | |||
118 | } | 118 | } |
119 | 119 | ||
120 | if !comma { | 120 | if !comma { |
121 | p.error("expected comma") | 121 | p.error("expected comma"); |
122 | } | 122 | } |
123 | } | 123 | } |
124 | } | 124 | } |
@@ -143,7 +143,6 @@ fn where_predicate(p: &mut Parser) { | |||
143 | } | 143 | } |
144 | IMPL_KW => { | 144 | IMPL_KW => { |
145 | p.error("expected lifetime or type"); | 145 | p.error("expected lifetime or type"); |
146 | return; | ||
147 | } | 146 | } |
148 | _ => { | 147 | _ => { |
149 | types::type_(p); | 148 | types::type_(p); |