mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Less reallocations
This commit is contained in:
parent
ec731e19df
commit
eaa4fcbbde
4 changed files with 12 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue