diff options
author | Kirill Bulatov <[email protected]> | 2021-03-20 22:17:09 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-03-21 09:45:37 +0000 |
commit | eaa4fcbbdea69c8fcf5b6cdc1ff3c259be3e09cb (patch) | |
tree | 23e0c63b041a1a172dab72e7979c8d6dae180248 /crates/ide_completion | |
parent | ec731e19df6444b2113c273fc740fd3d5c866b18 (diff) |
Less reallocations
Diffstat (limited to 'crates/ide_completion')
-rw-r--r-- | crates/ide_completion/src/lib.rs | 1 |
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) |