mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Updated formatting using RustFmt
This commit is contained in:
parent
c5ae43cac6
commit
f888f87635
2 changed files with 3 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue