Less reallocations

This commit is contained in:
Kirill Bulatov 2021-03-21 00:17:09 +02:00
parent ec731e19df
commit eaa4fcbbde
4 changed files with 12 additions and 21 deletions

View file

@ -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)