diff options
author | DJMcNab <[email protected]> | 2018-12-20 15:50:42 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 15:50:42 +0000 |
commit | f35151afed49d48eec8430864c5e348ff5a021e5 (patch) | |
tree | fa56994f9214df17911aab3e74bb1ac3f3573116 /crates | |
parent | 84ff52390dc278aaed3ee148ddb971d1f5d77c7e (diff) |
Don't require a command before EQ in a where clause
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_syntax/src/grammar/type_params.rs | 2 |
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 | } |