diff options
Diffstat (limited to 'crates/ide_completion/src/lib.rs')
-rw-r--r-- | crates/ide_completion/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_completion/src/lib.rs b/crates/ide_completion/src/lib.rs index 5470914fb..a0c8c374d 100644 --- a/crates/ide_completion/src/lib.rs +++ b/crates/ide_completion/src/lib.rs | |||
@@ -150,7 +150,7 @@ pub fn resolve_completion_edits( | |||
150 | let current_crate = current_module.krate(); | 150 | let current_crate = current_module.krate(); |
151 | 151 | ||
152 | let (import_path, item_to_import) = | 152 | let (import_path, item_to_import) = |
153 | items_locator::with_for_exact_name(&ctx.sema, current_crate, imported_name) | 153 | items_locator::with_exact_name(&ctx.sema, current_crate, imported_name) |
154 | .into_iter() | 154 | .into_iter() |
155 | .filter_map(|candidate| { | 155 | .filter_map(|candidate| { |
156 | current_module | 156 | current_module |