Skip to content

Commit 8401ebe

Browse files
committed
Fix clippy.
1 parent c8b7a96 commit 8401ebe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arrow-row/src/radix.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,9 @@ mod tests {
338338
let converter =
339339
RowConverter::new(vec![SortField::new_with_options(DataType::Int32, options)])
340340
.unwrap();
341-
let rows = converter.convert_columns(&[array.clone()]).unwrap();
341+
let rows = converter
342+
.convert_columns(std::slice::from_ref(&array))
343+
.unwrap();
342344

343345
let indices = radix_sort_to_indices(&rows);
344346
assert_sorted(&rows, &indices);

0 commit comments

Comments
 (0)