Skip to content

Commit

Permalink
rm useless to_vec()
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Lamb <[email protected]>
  • Loading branch information
my-vegetable-has-exploded and alamb authored Dec 19, 2023
1 parent 73f2a56 commit ddcd6f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arrow-ord/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,8 @@ fn compare_op_struct_values(
// compare each field of struct
let child_res = l
.columns()
.to_vec()
.iter()
.zip(r.columns().to_vec().iter())
.zip(r.columns().iter())
.map(|(col_l, col_r)| compare_op_values(Op::Equal, col_l, l_s, col_r, r_s, len))
.collect::<Result<Vec<BooleanBuffer>, ArrowError>>()?;
// combine the result of each field
Expand Down

0 comments on commit ddcd6f4

Please sign in to comment.