diff options
author | Aleksey Kladov <[email protected]> | 2020-08-05 18:29:24 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-05 18:37:26 +0100 |
commit | 09d3b7d7a2ae23a0463fadee9ae8cb6a0fa2c4bf (patch) | |
tree | a641fe412bef9463e2b768fcfe13df1a1f3be34f /crates/ra_assists/src/handlers/expand_glob_import.rs | |
parent | 5ebf92cd0ed4be97fe0ca5bffefbe292db1ec4cf (diff) |
align names in make
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 | } |