diff options
author | unexge <[email protected]> | 2020-08-02 21:07:36 +0100 |
---|---|---|
committer | unexge <[email protected]> | 2020-08-02 21:07:36 +0100 |
commit | a05a2ab1bb942c7b950f270ff1a31ba67518ae14 (patch) | |
tree | 662754e7cc45fd4b859d4072494e30547008c7d5 | |
parent | edd79a6b1c6e019d69d8d1304686391ea9cb4209 (diff) |
Rename ast::UseItem to ast::Use
-rw-r--r-- | crates/ra_assists/src/handlers/expand_glob_import.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/handlers/expand_glob_import.rs b/crates/ra_assists/src/handlers/expand_glob_import.rs index 590239304..ae9e86181 100644 --- a/crates/ra_assists/src/handlers/expand_glob_import.rs +++ b/crates/ra_assists/src/handlers/expand_glob_import.rs | |||
@@ -164,7 +164,7 @@ fn replace_ast( | |||
164 | ast::UseTreeList(use_tree_list) => { | 164 | ast::UseTreeList(use_tree_list) => { |
165 | builder.replace_ast(use_tree_list, new_use_tree_list); | 165 | builder.replace_ast(use_tree_list, new_use_tree_list); |
166 | }, | 166 | }, |
167 | ast::UseItem(use_item) => { | 167 | ast::Use(use_item) => { |
168 | builder.replace_ast(use_item, ast::make::use_item(make_use_tree(path, new_use_tree_list))); | 168 | builder.replace_ast(use_item, ast::make::use_item(make_use_tree(path, new_use_tree_list))); |
169 | }, | 169 | }, |
170 | _ => {}, | 170 | _ => {}, |