mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Rename ast::UseItem to ast::Use
This commit is contained in:
parent
edd79a6b1c
commit
a05a2ab1bb
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue