Do an union of the bucket candidates

This commit is contained in:
Kerollmops
2021-02-25 17:28:20 +01:00
parent b0e0c5eba0
commit 36c1f93ceb
4 changed files with 4 additions and 4 deletions

View File

@ -147,7 +147,7 @@ impl<'t> Criterion for Typo<'t> {
self.query_tree = query_tree.map(|op| (maximum_typo(&op), op));
self.number_typos = 0;
self.candidates = Candidates::Allowed(candidates);
self.bucket_candidates = bucket_candidates;
self.bucket_candidates.union_with(&bucket_candidates);
},
None => return Ok(None),
}