mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Make clippy happy
This commit is contained in:
parent
702041b7e1
commit
f36de2115f
3 changed files with 4 additions and 4 deletions
|
@ -18,6 +18,6 @@ impl<'a> BytesDecode<'a> for FstSetCodec {
|
|||
type DItem = Set<&'a [u8]>;
|
||||
|
||||
fn bytes_decode(bytes: &'a [u8]) -> Option<Self::DItem> {
|
||||
Some(Set::new(bytes).ok()?)
|
||||
Set::new(bytes).ok()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -163,7 +163,7 @@ impl<'i> FacetsUpdate<'i> {
|
|||
let mut text_fsts = vec![];
|
||||
let mut current_fst: Option<(u16, fst::SetBuilder<Vec<u8>>)> = None;
|
||||
let database = self.index.facet_id_string_docids.remap_data_type::<DecodeIgnore>();
|
||||
for result in database.iter(&wtxn)? {
|
||||
for result in database.iter(wtxn)? {
|
||||
let (facet_group_key, _) = result?;
|
||||
if let FacetGroupKey { field_id, level: 0, left_bound } = facet_group_key {
|
||||
current_fst = match current_fst.take() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue