From faf148d297b6d692dadce10908c72b3e9f00183d Mon Sep 17 00:00:00 2001 From: Many Date: Tue, 8 Jun 2021 17:52:37 +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 33708fe76..c87ccfe9b 100644 --- a/milli/src/search/query_tree.rs +++ b/milli/src/search/query_tree.rs @@ -475,7 +475,7 @@ fn create_primitive_query(query: TokenStream, stop_words: Option>, wo if quote_count % 2 != 0 { quoted = !quoted; } - // if there are any quote or any hard separator we close the phrase. + // if there is a quote or a hard separator we close the phrase. if !phrase.is_empty() && (quote_count > 0 || separator_kind == SeparatorKind::Hard) { primitive_query.push(PrimitiveQueryPart::Phrase(mem::take(&mut phrase))); }