From f4a4fcf2753f48b81873de5dc39c1159d2a88654 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 6 Feb 2020 19:27:48 +0200 Subject: Remove the leftovers after ImportLocator removal --- crates/ra_assists/src/assists/auto_import.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_assists/src') 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::{ assist_ctx::{ActionBuilder, Assist, AssistCtx}, auto_import_text_edit, AssistId, }; -use ra_ide_db::imports_locator::ImportsLocatorIde; +use ra_ide_db::imports_locator::ImportsLocator; // Assist: auto_import // @@ -52,7 +52,7 @@ pub(crate) fn auto_import(ctx: AssistCtx) -> Option { return None; } - let mut imports_locator = ImportsLocatorIde::new(ctx.db); + let mut imports_locator = ImportsLocator::new(ctx.db); let proposed_imports = imports_locator .find_imports(&name_to_import) -- cgit v1.2.3