diff options
author | Aleksey Kladov <[email protected]> | 2020-02-29 20:24:40 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-29 20:33:15 +0000 |
commit | a1e18695548b5cd6661f26a985b34c8b105e1896 (patch) | |
tree | e099bb9e9c04392dcb7fed54200a989f663f3659 /crates/ra_parser/src/grammar.rs | |
parent | f316e074d2a2906a130d3046b5c3aa24daffb766 (diff) |
Rename ast::ImplBlock -> ast::ImplDef
Diffstat (limited to 'crates/ra_parser/src/grammar.rs')
-rw-r--r-- | crates/ra_parser/src/grammar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar.rs b/crates/ra_parser/src/grammar.rs index a46e11e1d..58098e810 100644 --- a/crates/ra_parser/src/grammar.rs +++ b/crates/ra_parser/src/grammar.rs | |||
@@ -152,7 +152,7 @@ pub(crate) fn reparser( | |||
152 | EXTERN_ITEM_LIST => items::extern_item_list, | 152 | EXTERN_ITEM_LIST => items::extern_item_list, |
153 | TOKEN_TREE if first_child? == T!['{'] => items::token_tree, | 153 | TOKEN_TREE if first_child? == T!['{'] => items::token_tree, |
154 | ITEM_LIST => match parent? { | 154 | ITEM_LIST => match parent? { |
155 | IMPL_BLOCK => items::impl_item_list, | 155 | IMPL_DEF => items::impl_item_list, |
156 | TRAIT_DEF => items::trait_item_list, | 156 | TRAIT_DEF => items::trait_item_list, |
157 | MODULE => items::mod_item_list, | 157 | MODULE => items::mod_item_list, |
158 | _ => return None, | 158 | _ => return None, |