From ff8b2d4422f8b5363878dc065738935ac080ff42 Mon Sep 17 00:00:00 2001 From: Akshay Kulkarni Date: Thu, 13 Oct 2022 12:44:08 +0530 Subject: [PATCH] formatting --- milli/src/search/query_tree.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/milli/src/search/query_tree.rs b/milli/src/search/query_tree.rs index 4ed1e9fbd..723192d20 100755 --- a/milli/src/search/query_tree.rs +++ b/milli/src/search/query_tree.rs @@ -510,7 +510,8 @@ fn create_query_tree( .filter(|(_, part)| !part.is_phrase()) .max_by_key(|(_, part)| match part { PrimitiveQueryPart::Word(s, _) => { - let (pair_freq, _, _) = split_best_frequency(ctx, s).unwrap_or_default().unwrap_or_default(); + let (pair_freq, _, _) = + split_best_frequency(ctx, s).unwrap_or_default().unwrap_or_default(); pair_freq } _ => unreachable!(),