From 943f8dba0c97bd96f1a325abfbf5d76833e35c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 21 May 2024 14:58:36 +0200 Subject: [PATCH] Make clippy happy --- .../src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs b/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs index dcab42c0a..1db518c7d 100644 --- a/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs +++ b/milli/src/heed_codec/roaring_bitmap/cbo_roaring_bitmap_codec.rs @@ -195,7 +195,7 @@ mod tests { fn merge_cbo_roaring_bitmaps() { let mut buffer = Vec::new(); - let small_data = vec![ + let small_data = [ RoaringBitmap::from_sorted_iter(1..4).unwrap(), RoaringBitmap::from_sorted_iter(2..5).unwrap(), RoaringBitmap::from_sorted_iter(4..6).unwrap(), @@ -209,7 +209,7 @@ mod tests { let expected = RoaringBitmap::from_sorted_iter(1..6).unwrap(); assert_eq!(bitmap, expected); - let medium_data = vec![ + let medium_data = [ RoaringBitmap::from_sorted_iter(1..4).unwrap(), RoaringBitmap::from_sorted_iter(2..5).unwrap(), RoaringBitmap::from_sorted_iter(4..8).unwrap(),