aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2021-03-20 22:17:09 +0000
committerKirill Bulatov <[email protected]>2021-03-21 09:45:37 +0000
commiteaa4fcbbdea69c8fcf5b6cdc1ff3c259be3e09cb (patch)
tree23e0c63b041a1a172dab72e7979c8d6dae180248 /crates/ide_completion
parentec731e19df6444b2113c273fc740fd3d5c866b18 (diff)
Less reallocations
Diffstat (limited to 'crates/ide_completion')
-rw-r--r--crates/ide_completion/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
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(
161 items_locator::AssocItemSearch::Include, 161 items_locator::AssocItemSearch::Include,
162 Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT), 162 Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT),
163 ) 163 )
164 .into_iter()
165 .filter_map(|candidate| { 164 .filter_map(|candidate| {
166 current_module 165 current_module
167 .find_use_path_prefixed(db, candidate, config.insert_use.prefix_kind) 166 .find_use_path_prefixed(db, candidate, config.insert_use.prefix_kind)