diff --git a/crates/re_data_store/benches/arrow2.rs b/crates/re_data_store/benches/arrow2.rs index 3955a793e8914..b14efa614b6ae 100644 --- a/crates/re_data_store/benches/arrow2.rs +++ b/crates/re_data_store/benches/arrow2.rs @@ -8,7 +8,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; use std::sync::Arc; -use arrow2::array::{Array, FixedSizeListArray, PrimitiveArray, StructArray}; +use arrow2::array::{Array, PrimitiveArray, StructArray}; use criterion::Criterion; use itertools::Itertools; @@ -274,8 +274,9 @@ fn estimated_size_bytes(c: &mut Criterion) { ArrayKind::Primitive => { bench_downcast_first::>(&mut group, kind); } - ArrayKind::Struct => bench_downcast_first::(&mut group, kind), - ArrayKind::StructLarge => bench_downcast_first::(&mut group, kind), + ArrayKind::Struct | ArrayKind::StructLarge => { + bench_downcast_first::(&mut group, kind); + } } fn bench_downcast_first(