From eaa4fcbbdea69c8fcf5b6cdc1ff3c259be3e09cb Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Sun, 21 Mar 2021 00:17:09 +0200 Subject: Less reallocations --- crates/ide_completion/src/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'crates/ide_completion') diff --git a/crates/ide_completion/src/lib.rs b/crates/ide_completion/src/lib.rs index 87cddb98e..5ac1cb48d 100644 --- a/crates/ide_completion/src/lib.rs +++ b/crates/ide_completion/src/lib.rs @@ -161,7 +161,6 @@ pub fn resolve_completion_edits( items_locator::AssocItemSearch::Include, Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT), ) - .into_iter() .filter_map(|candidate| { current_module .find_use_path_prefixed(db, candidate, config.insert_use.prefix_kind) -- cgit v1.2.3