diff options
author | Kirill Bulatov <[email protected]> | 2020-02-06 17:27:48 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-02-06 17:27:48 +0000 |
commit | f4a4fcf2753f48b81873de5dc39c1159d2a88654 (patch) | |
tree | cd660466355281aea5dfbec84578e529b9c3e393 /crates/ra_assists | |
parent | 46027e10be3d23643bc41ffa8dc8c7cf4013b21a (diff) |
Remove the leftovers after ImportLocator removal
Diffstat (limited to 'crates/ra_assists')
-rw-r--r-- | crates/ra_assists/src/assists/auto_import.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/assists/auto_import.rs b/crates/ra_assists/src/assists/auto_import.rs index f16b08c43..10c4b7d7c 100644 --- a/crates/ra_assists/src/assists/auto_import.rs +++ b/crates/ra_assists/src/assists/auto_import.rs | |||
@@ -8,7 +8,7 @@ use crate::{ | |||
8 | assist_ctx::{ActionBuilder, Assist, AssistCtx}, | 8 | assist_ctx::{ActionBuilder, Assist, AssistCtx}, |
9 | auto_import_text_edit, AssistId, | 9 | auto_import_text_edit, AssistId, |
10 | }; | 10 | }; |
11 | use ra_ide_db::imports_locator::ImportsLocatorIde; | 11 | use ra_ide_db::imports_locator::ImportsLocator; |
12 | 12 | ||
13 | // Assist: auto_import | 13 | // Assist: auto_import |
14 | // | 14 | // |
@@ -52,7 +52,7 @@ pub(crate) fn auto_import(ctx: AssistCtx) -> Option<Assist> { | |||
52 | return None; | 52 | return None; |
53 | } | 53 | } |
54 | 54 | ||
55 | let mut imports_locator = ImportsLocatorIde::new(ctx.db); | 55 | let mut imports_locator = ImportsLocator::new(ctx.db); |
56 | 56 | ||
57 | let proposed_imports = imports_locator | 57 | let proposed_imports = imports_locator |
58 | .find_imports(&name_to_import) | 58 | .find_imports(&name_to_import) |