From 0add4d735c95ed8bcddeb2e2afa853bab7dcf62e Mon Sep 17 00:00:00 2001 From: Many Date: Tue, 27 Apr 2021 17:40:34 +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 3d7132e77..e1069b5f5 100644 --- a/milli/src/search/criteria/attribute.rs +++ b/milli/src/search/criteria/attribute.rs @@ -529,9 +529,7 @@ fn set_compute_candidates<'t>( } - Ok(final_candidates.map(|(_rank, candidates)| { - candidates - })) + Ok(final_candidates.map(|(_rank, candidates)| candidates)) } fn linear_compute_candidates(