formatting

This commit is contained in:
Akshay Kulkarni 2022-10-13 12:44:08 +05:30
parent 6cb8b46900
commit ff8b2d4422
No known key found for this signature in database
GPG Key ID: CAB2F21265743909

View File

@ -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!(),