Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Dec 29, 2023
1 parent e05123a commit 0078910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/expr/src/tree_node/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use datafusion_common::{tree_node::TreeNode, Result};

impl TreeNode for LogicalPlan {
fn children_nodes(&self) -> Vec<Self> {
self.inputs().into_iter().map(|p| p.clone()).collect()
self.inputs().into_iter().cloned().collect()
}

fn apply<F>(&self, op: &mut F) -> Result<VisitRecursion>
Expand Down

0 comments on commit 0078910

Please sign in to comment.