Make clippy happy

This commit is contained in:
Clément Renault 2024-05-21 14:58:36 +02:00
parent 1aa8ed9ef7
commit 943f8dba0c
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -195,7 +195,7 @@ mod tests {
fn merge_cbo_roaring_bitmaps() { fn merge_cbo_roaring_bitmaps() {
let mut buffer = Vec::new(); let mut buffer = Vec::new();
let small_data = vec![ let small_data = [
RoaringBitmap::from_sorted_iter(1..4).unwrap(), RoaringBitmap::from_sorted_iter(1..4).unwrap(),
RoaringBitmap::from_sorted_iter(2..5).unwrap(), RoaringBitmap::from_sorted_iter(2..5).unwrap(),
RoaringBitmap::from_sorted_iter(4..6).unwrap(), RoaringBitmap::from_sorted_iter(4..6).unwrap(),
@ -209,7 +209,7 @@ mod tests {
let expected = RoaringBitmap::from_sorted_iter(1..6).unwrap(); let expected = RoaringBitmap::from_sorted_iter(1..6).unwrap();
assert_eq!(bitmap, expected); assert_eq!(bitmap, expected);
let medium_data = vec![ let medium_data = [
RoaringBitmap::from_sorted_iter(1..4).unwrap(), RoaringBitmap::from_sorted_iter(1..4).unwrap(),
RoaringBitmap::from_sorted_iter(2..5).unwrap(), RoaringBitmap::from_sorted_iter(2..5).unwrap(),
RoaringBitmap::from_sorted_iter(4..8).unwrap(), RoaringBitmap::from_sorted_iter(4..8).unwrap(),