From b0e0c5eba0c83d57d7262036c076b0a829065de7 Mon Sep 17 00:00:00 2001 From: many Date: Thu, 25 Feb 2021 16:59:09 +0100 Subject: [PATCH] remove option of bucket_candidates --- milli/src/search/criteria/fetcher.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/milli/src/search/criteria/fetcher.rs b/milli/src/search/criteria/fetcher.rs index 7706ee280..e21548e3f 100644 --- a/milli/src/search/criteria/fetcher.rs +++ b/milli/src/search/criteria/fetcher.rs @@ -63,7 +63,7 @@ impl<'t> Criterion for Fetcher<'t> { return Ok(Some(CriterionResult { query_tree: self.query_tree.clone(), candidates: candidates.clone(), - bucket_candidates: Some(candidates), + bucket_candidates: candidates, })); }, Forbidden(_) => { @@ -81,7 +81,7 @@ impl<'t> Criterion for Fetcher<'t> { return Ok(Some(CriterionResult { query_tree: self.query_tree.clone(), candidates: candidates.clone(), - bucket_candidates: Some(candidates), + bucket_candidates: candidates, })); }, } @@ -95,7 +95,7 @@ impl<'t> Criterion for Fetcher<'t> { return Ok(Some(CriterionResult { query_tree: self.query_tree.clone(), candidates: candidates.clone(), - bucket_candidates: Some(candidates), + bucket_candidates: candidates, })); }, }