Rename ast::UseItem to ast::Use

This commit is contained in:
unexge 2020-08-02 23:07:36 +03:00
parent edd79a6b1c
commit a05a2ab1bb

View File

@ -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)));
},
_ => {},