Add Limit struct.

Fixes #9286.
This commit is contained in:
Robert Bartlensky 2021-07-10 21:49:17 +01:00
parent fe00358888
commit 0b3d0cde8b
16 changed files with 84 additions and 24 deletions

View file

@ -187,7 +187,7 @@ pub fn resolve_completion_edits(
current_crate,
NameToImport::Exact(imported_name),
items_locator::AssocItemSearch::Include,
Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT),
Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT.inner()),
)
.filter_map(|candidate| {
current_module