aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_syntax/src/grammar/type_params.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/type_params.rs b/crates/ra_syntax/src/grammar/type_params.rs
index f4c98675c..863f8e00c 100644
--- a/crates/ra_syntax/src/grammar/type_params.rs
+++ b/crates/ra_syntax/src/grammar/type_params.rs
@@ -108,7 +108,7 @@ pub(super) fn opt_where_clause(p: &mut Parser) {
108 break; 108 break;
109 } 109 }
110 where_predicate(p); 110 where_predicate(p);
111 if p.current() != L_CURLY && p.current() != SEMI { 111 if p.current() != L_CURLY && p.current() != SEMI && p.current() != EQ {
112 p.expect(COMMA); 112 p.expect(COMMA);
113 } 113 }
114 } 114 }