Skip to content

Commit f4aa988

Browse files
committed
Fmt
1 parent f10afbc commit f4aa988

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

‎datafusion/functions-aggregate-common/src/aggregate/groups_accumulator/batched_vec.rs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ pub struct BatchedVec<T> {
4141

4242
impl<T: Clone> BatchedVec<T> {
4343
pub fn new(batch_size: usize) -> Self {
44-
assert!(batch_size > 0 && batch_size.is_power_of_two(),
45-
"batch_size must be a power of two, got {batch_size}");
44+
assert!(
45+
batch_size > 0 && batch_size.is_power_of_two(),
46+
"batch_size must be a power of two, got {batch_size}"
47+
);
4648
Self {
4749
batches: Vec::new(),
4850
batch_shift: batch_size.trailing_zeros(),

0 commit comments

Comments
 (0)