Skip to content

Commit d1f32e8

Browse files
committed
fix clippy
1 parent 06e124a commit d1f32e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/functions/src/scalars/array.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ fn register_array_aggr(registry: &mut FunctionRegistry) {
696696

697697
for (func_name, name) in ARRAY_AGGREGATE_FUNCTIONS {
698698
registry.register_function_factory(func_name, |_, args_type| {
699-
let return_type = eval_aggr_return_type(name.clone(), args_type)?;
699+
let return_type = eval_aggr_return_type(name, args_type)?;
700700
Some(Arc::new(Function {
701701
signature: FunctionSignature {
702702
name: func_name.to_string(),

0 commit comments

Comments
 (0)