Skip to content

Commit 289b354

Browse files
author
B Vadlamani
committed
remove_boxing_smaller_int_types
1 parent 3f4952e commit 289b354

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • datafusion/functions-aggregate-common/src/aggregate/count_distinct

datafusion/functions-aggregate-common/src/aggregate/count_distinct/native.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ pub struct BoolArray256DistinctCountAccumulator {
175175

176176
impl BoolArray256DistinctCountAccumulator {
177177
pub fn new() -> Self {
178-
Self {
179-
seen: [false; 256],
180-
}
178+
Self { seen: [false; 256] }
181179
}
182180

183181
#[inline]
@@ -256,9 +254,7 @@ pub struct BoolArray256DistinctCountAccumulatorI8 {
256254

257255
impl BoolArray256DistinctCountAccumulatorI8 {
258256
pub fn new() -> Self {
259-
Self {
260-
seen: [false; 256],
261-
}
257+
Self { seen: [false; 256] }
262258
}
263259

264260
#[inline]

0 commit comments

Comments
 (0)