mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 13:40:31 +01:00
Apply suggestions
Co-authored-by: Many <many@meilisearch.com>
This commit is contained in:
parent
21ec334dcc
commit
0c5f4ed7de
@ -82,7 +82,7 @@ impl CboRoaringBitmapCodec {
|
||||
buffer.extend_from_slice(&integer.to_ne_bytes());
|
||||
}
|
||||
} else {
|
||||
// Integers *must* be ordered here, no matter what.
|
||||
// We can unwrap safely because the vector is sorted upper.
|
||||
let roaring = RoaringBitmap::from_sorted_iter(vec.into_iter()).unwrap();
|
||||
roaring.serialize_into(buffer)?;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user