Make clippy happy

This commit is contained in:
Clément Renault 2024-11-27 14:59:04 +01:00
parent cc63802115
commit a514ce472a
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 4 additions and 11 deletions

View file

@ -249,10 +249,3 @@ fn merge_cbo_bitmaps(
}
}
}
/// TODO Return the slice directly from the serialize_into method
fn cbo_bitmap_serialize_into_vec<'b>(bitmap: &RoaringBitmap, buffer: &'b mut Vec<u8>) -> &'b [u8] {
buffer.clear();
CboRoaringBitmapCodec::serialize_into(bitmap, buffer);
buffer.as_slice()
}