diff options
Diffstat (limited to 'crates/ra_assists/src/handlers/expand_glob_import.rs')
-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 69f6b3674..eb216a81a 100644 --- a/crates/ra_assists/src/handlers/expand_glob_import.rs +++ b/crates/ra_assists/src/handlers/expand_glob_import.rs | |||
@@ -173,7 +173,7 @@ fn replace_ast( | |||
173 | replace_node(replacement); | 173 | replace_node(replacement); |
174 | }, | 174 | }, |
175 | ast::Use(use_item) => { | 175 | ast::Use(use_item) => { |
176 | builder.replace_ast(use_item, ast::make::use_item(replacement.left_or_else(|ut| ast::make::use_tree(path, Some(ut), None, false)))); | 176 | builder.replace_ast(use_item, ast::make::use_(replacement.left_or_else(|ut| ast::make::use_tree(path, Some(ut), None, false)))); |
177 | }, | 177 | }, |
178 | _ => {}, | 178 | _ => {}, |
179 | } | 179 | } |