Skip to content

Commit

Permalink
Fix the clippy error of use of deprecated method (#9034)
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya authored Jan 29, 2024
1 parent f4fc263 commit 1097dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/physical-expr/src/equivalence/properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ impl EquivalenceProperties {
for (PhysicalSortExpr { expr, .. }, idx) in &ordered_exprs {
eq_properties =
eq_properties.add_constants(std::iter::once(expr.clone()));
search_indices.remove(idx);
search_indices.swap_remove(idx);
}
// Add new ordered section to the state.
result.extend(ordered_exprs);
Expand Down

0 comments on commit 1097dc0

Please sign in to comment.