From b3d6c6a9a0e8447daefa92b022c03fe39d5b08e3 Mon Sep 17 00:00:00 2001 From: Many Date: Tue, 27 Apr 2021 17:31:13 +0200 Subject: [PATCH] Update milli/src/search/criteria/attribute.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Renault --- milli/src/search/criteria/attribute.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/milli/src/search/criteria/attribute.rs b/milli/src/search/criteria/attribute.rs index 820085c31..31725e221 100644 --- a/milli/src/search/criteria/attribute.rs +++ b/milli/src/search/criteria/attribute.rs @@ -77,9 +77,7 @@ impl<'t> Criterion for Attribute<'t> { }, } } else { - let found_candidates = set_compute_candidates(self.ctx, flattened_query_tree, candidates, wdcache)?; - - match found_candidates { + match set_compute_candidates(self.ctx, flattened_query_tree, candidates, wdcache)? { Some(candidates) => candidates, None => { return Ok(Some(CriterionResult {