mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
Make clippy happy
This commit is contained in:
parent
1aa8ed9ef7
commit
943f8dba0c
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user