fix clippy warning

This commit is contained in:
Filip Bachul 2023-04-01 00:32:06 +02:00
parent 0fba08cd72
commit 1e6fe71a67

View File

@ -324,14 +324,10 @@ impl<'a> Filter<'a> {
Ok(RoaringBitmap::new()) Ok(RoaringBitmap::new())
} }
} else { } else {
match fid.value() { Err(fid.as_external_error(FilterError::AttributeNotFilterable {
attribute => { attribute: fid.value(),
Err(fid.as_external_error(FilterError::AttributeNotFilterable { filterable_fields: filterable_fields.clone(),
attribute, }))?
filterable_fields: filterable_fields.clone(),
}))?
}
}
} }
} }
FilterCondition::Or(subfilters) => { FilterCondition::Or(subfilters) => {