diff --git a/milli/src/search/criteria/attribute.rs b/milli/src/search/criteria/attribute.rs index 8f2e34ca9..62e992fad 100644 --- a/milli/src/search/criteria/attribute.rs +++ b/milli/src/search/criteria/attribute.rs @@ -304,9 +304,7 @@ impl<'t, 'q> QueryLevelIterator<'t, 'q> { /// and from eventual chainned QueryLevelIterator. fn next(&mut self, allowed_candidates: &RoaringBitmap, tree_level: TreeLevel) -> heed::Result> { let parent_result = match self.parent.as_mut() { - Some(parent) => { - Some(parent.next(allowed_candidates, tree_level)?) - }, + Some(parent) => Some(parent.next(allowed_candidates, tree_level)?), None => None, };