diff options
Diffstat (limited to 'crates')
-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 | _ => {}, |