mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
fix clippy warning
This commit is contained in:
parent
0fba08cd72
commit
1e6fe71a67
@ -324,16 +324,12 @@ impl<'a> Filter<'a> {
|
|||||||
Ok(RoaringBitmap::new())
|
Ok(RoaringBitmap::new())
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
match fid.value() {
|
|
||||||
attribute => {
|
|
||||||
Err(fid.as_external_error(FilterError::AttributeNotFilterable {
|
Err(fid.as_external_error(FilterError::AttributeNotFilterable {
|
||||||
attribute,
|
attribute: fid.value(),
|
||||||
filterable_fields: filterable_fields.clone(),
|
filterable_fields: filterable_fields.clone(),
|
||||||
}))?
|
}))?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
FilterCondition::Or(subfilters) => {
|
FilterCondition::Or(subfilters) => {
|
||||||
let mut bitmap = RoaringBitmap::new();
|
let mut bitmap = RoaringBitmap::new();
|
||||||
for f in subfilters {
|
for f in subfilters {
|
||||||
|
Loading…
Reference in New Issue
Block a user