File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed
functions-v2/src/aggregates/adaptors
functions/src/aggregates/adaptors Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool> {
35
35
size_of_data : usize ,
36
36
}
37
37
38
- impl < const NULLABLE_RESULT : bool >
39
- AggregateNullVariadicAdaptor < NULLABLE_RESULT >
40
- {
38
+ impl < const NULLABLE_RESULT : bool > AggregateNullVariadicAdaptor < NULLABLE_RESULT > {
41
39
pub fn create ( nested : AggregateFunctionRef ) -> AggregateFunctionRef {
42
40
let size_of_data = if NULLABLE_RESULT {
43
41
let layout = nested. state_layout ( ) ;
@@ -246,9 +244,7 @@ impl<const NULLABLE_RESULT: bool> AggregateFunction
246
244
}
247
245
}
248
246
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 > {
252
248
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
253
249
write ! ( f, "AggregateNullVariadicAdaptor" )
254
250
}
Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ pub struct AggregateNullVariadicAdaptor<const NULLABLE_RESULT: bool> {
32
32
size_of_data : usize ,
33
33
}
34
34
35
- impl < const NULLABLE_RESULT : bool >
36
- AggregateNullVariadicAdaptor < NULLABLE_RESULT >
37
- {
35
+ impl < const NULLABLE_RESULT : bool > AggregateNullVariadicAdaptor < NULLABLE_RESULT > {
38
36
pub fn create ( nested : AggregateFunctionRef ) -> AggregateFunctionRef {
39
37
let size_of_data = if NULLABLE_RESULT {
40
38
let layout = nested. state_layout ( ) ;
@@ -258,9 +256,7 @@ impl<const NULLABLE_RESULT: bool> AggregateFunction
258
256
}
259
257
}
260
258
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 > {
264
260
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
265
261
write ! ( f, "AggregateNullVariadicAdaptor" )
266
262
}
You can’t perform that action at this time.
0 commit comments