Rename ImplItem to ImplBlock

rustc uses the name ImplItem for items in impls, not the impl {} block itself,
which could lead to confusion.
This commit is contained in:
Florian Diebold 2018-12-26 21:24:49 +01:00
parent a0d483011d
commit fe6c4115f6
24 changed files with 51 additions and 52 deletions

View file

@ -100,7 +100,7 @@ fn find_reparsable_node(
ITEM_LIST => {
let parent = node.parent().unwrap();
match parent.kind() {
IMPL_ITEM => grammar::impl_item_list,
IMPL_BLOCK => grammar::impl_item_list,
TRAIT_DEF => grammar::trait_item_list,
MODULE => grammar::mod_item_list,
_ => return None,