Updated formatting using RustFmt

This commit is contained in:
Lucas Black 2025-05-21 02:07:25 -07:00
parent c5ae43cac6
commit f888f87635
2 changed files with 3 additions and 4 deletions

View file

@ -137,9 +137,7 @@ impl<'ctx> SearchContext<'ctx> {
if searchable_weight.is_none() && field_name.contains("*") {
let matching_searchable_weights: Vec<_> = searchable_fields_weights
.iter()
.filter(|(name, _, _)| {
match_pattern(field_name, name) == PatternMatch::Match
})
.filter(|(name, _, _)| match_pattern(field_name, name) == PatternMatch::Match)
.collect();
if !matching_searchable_weights.is_empty() {