From ab696f6a2326e069b372d507dab52678409252a6 Mon Sep 17 00:00:00 2001 From: Many Date: Wed, 9 Jun 2021 10:12:17 +0200 Subject: [PATCH] Update milli/tests/search/query_criteria.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Renault --- milli/tests/search/query_criteria.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/milli/tests/search/query_criteria.rs b/milli/tests/search/query_criteria.rs index b6f692674..f0eecfaba 100644 --- a/milli/tests/search/query_criteria.rs +++ b/milli/tests/search/query_criteria.rs @@ -57,7 +57,6 @@ fn criteria_mixup() { use Criterion::*; let index = search::setup_search_index_with_criteria(&vec![Words, Attribute, Desc(S("asc_desc_rank")), Exactness, Proximity, Typo]); - let criteria_mix = { // Criterion doesn't implement Copy, we create a new Criterion using a closure let desc = || Desc(S("asc_desc_rank"));