Skip to content

Commit 35996b8

Browse files
committed
chore(query): fix licence
1 parent 76184f0 commit 35996b8

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

src/query/functions-v2/src/aggregates/adaptors/aggregate_null_variadic_adaptor.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool> {
3535
size_of_data: usize,
3636
}
3737

38-
impl<const NULLABLE_RESULT: bool>
39-
AggregateNullVariadicAdaptor<NULLABLE_RESULT>
40-
{
38+
impl<const NULLABLE_RESULT: bool> AggregateNullVariadicAdaptor<NULLABLE_RESULT> {
4139
pub fn create(nested: AggregateFunctionRef) -> AggregateFunctionRef {
4240
let size_of_data = if NULLABLE_RESULT {
4341
let layout = nested.state_layout();
@@ -246,9 +244,7 @@ impl<const NULLABLE_RESULT: bool> AggregateFunction
246244
}
247245
}
248246

249-
impl<const NULLABLE_RESULT: bool> fmt::Display
250-
for AggregateNullVariadicAdaptor<NULLABLE_RESULT>
251-
{
247+
impl<const NULLABLE_RESULT: bool> fmt::Display for AggregateNullVariadicAdaptor<NULLABLE_RESULT> {
252248
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
253249
write!(f, "AggregateNullVariadicAdaptor")
254250
}

src/query/functions/src/aggregates/adaptors/aggregate_null_variadic_adaptor.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool> {
3232
size_of_data: usize,
3333
}
3434

35-
impl<const NULLABLE_RESULT: bool>
36-
AggregateNullVariadicAdaptor<NULLABLE_RESULT>
37-
{
35+
impl<const NULLABLE_RESULT: bool> AggregateNullVariadicAdaptor<NULLABLE_RESULT> {
3836
pub fn create(nested: AggregateFunctionRef) -> AggregateFunctionRef {
3937
let size_of_data = if NULLABLE_RESULT {
4038
let layout = nested.state_layout();
@@ -258,9 +256,7 @@ impl<const NULLABLE_RESULT: bool> AggregateFunction
258256
}
259257
}
260258

261-
impl<const NULLABLE_RESULT: bool> fmt::Display
262-
for AggregateNullVariadicAdaptor<NULLABLE_RESULT>
263-
{
259+
impl<const NULLABLE_RESULT: bool> fmt::Display for AggregateNullVariadicAdaptor<NULLABLE_RESULT> {
264260
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
265261
write!(f, "AggregateNullVariadicAdaptor")
266262
}

0 commit comments

Comments
 (0)