Rename ast::UseItem to ast::Use
This commit is contained in:
parent
edd79a6b1c
commit
a05a2ab1bb
@ -164,7 +164,7 @@ fn replace_ast(
|
||||
ast::UseTreeList(use_tree_list) => {
|
||||
builder.replace_ast(use_tree_list, new_use_tree_list);
|
||||
},
|
||||
ast::UseItem(use_item) => {
|
||||
ast::Use(use_item) => {
|
||||
builder.replace_ast(use_item, ast::make::use_item(make_use_tree(path, new_use_tree_list)));
|
||||
},
|
||||
_ => {},
|
||||
|
Loading…
Reference in New Issue
Block a user