Skip to content

Commit 88d304e

Browse files
Fix clippy
1 parent 12e2314 commit 88d304e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/functions/src/datetime/to_char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ fn _to_char_array(args: &[ColumnarValue]) -> Result<ColumnarValue> {
264264
let mut results: Vec<Option<String>> = vec![];
265265
let format_array = arrays[1].as_string::<i32>();
266266

267-
let mut values = arrays[0].clone();
267+
let mut values = Arc::clone(&arrays[0]);
268268
let mut data_type = arrays[0].data_type();
269269

270270
// eagerly cast Date32 values to Date64 to support date formatting with time-related specifiers

0 commit comments

Comments
 (0)