diff options
author | Kirill Bulatov <[email protected]> | 2020-12-28 12:24:13 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-12-28 13:06:10 +0000 |
commit | c4995cfbd5b265c02d3038d72b8a022cde5f7040 (patch) | |
tree | d2fdb44eedf6c5e806804a1b874643b52586bb44 /crates/completion/src | |
parent | 0e48cd0c3c712cea0267476de974012b2b05b508 (diff) |
Better query api and fuzzy search
Diffstat (limited to 'crates/completion/src')
-rw-r--r-- | crates/completion/src/completions/unqualified_path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/completion/src/completions/unqualified_path.rs b/crates/completion/src/completions/unqualified_path.rs index 3d72a08b4..d09849752 100644 --- a/crates/completion/src/completions/unqualified_path.rs +++ b/crates/completion/src/completions/unqualified_path.rs | |||
@@ -135,7 +135,7 @@ fn fuzzy_completion(acc: &mut Completions, ctx: &CompletionContext) -> Option<() | |||
135 | ctx.krate?, | 135 | ctx.krate?, |
136 | Some(100), | 136 | Some(100), |
137 | &potential_import_name, | 137 | &potential_import_name, |
138 | false, | 138 | true, |
139 | ) | 139 | ) |
140 | .filter_map(|import_candidate| { | 140 | .filter_map(|import_candidate| { |
141 | Some(match import_candidate { | 141 | Some(match import_candidate { |