remove option of bucket_candidates

This commit is contained in:
many 2021-02-25 16:59:09 +01:00 committed by Kerollmops
parent daf126a638
commit b0e0c5eba0
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -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,
}));
},
}