From f4cab080a6bb0c1f348777220b224a999d53d1b7 Mon Sep 17 00:00:00 2001 From: Many Date: Thu, 10 Jun 2021 11:30:51 +0200 Subject: [PATCH] Update milli/src/search/query_tree.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/query_tree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/search/query_tree.rs b/milli/src/search/query_tree.rs index 234fd3266..3c3420db4 100644 --- a/milli/src/search/query_tree.rs +++ b/milli/src/search/query_tree.rs @@ -67,7 +67,7 @@ impl Operation { fn phrase(mut words: Vec) -> Self { if words.len() == 1 { - Self::Query(Query {prefix: false, kind: QueryKind::exact(words.pop().unwrap())}) + Self::Query(Query { prefix: false, kind: QueryKind::exact(words.pop().unwrap()) }) } else { Self::Phrase(words) }