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(