Add docs and optimisations

This commit is contained in:
Kirill Bulatov 2020-12-28 14:54:31 +02:00
parent c4995cfbd5
commit e4c3f753d2
3 changed files with 18 additions and 9 deletions

View file

@ -101,8 +101,8 @@ fn complete_enum_variants(acc: &mut Completions, ctx: &CompletionContext, ty: &T
//
// .Fuzzy search details
//
// To avoid an excessive amount of the results returned, completion input is checked for inclusion in the identifiers only
// (i.e. in `HashMap` in the `std::collections::HashMap` path), also not in the module indentifiers.
// To avoid an excessive amount of the results returned, completion input is checked for inclusion in the names only
// (i.e. in `HashMap` in the `std::collections::HashMap` path).
//
// .Merge Behavior
//