Skip to content

Commit 19e1f1c

Browse files
remove unnecessary clone on double reference
1 parent f319aa4 commit 19e1f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/physical_plan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl PyExecutionPlan {
4040
self.plan
4141
.children()
4242
.iter()
43-
.map(|p| p.clone().to_owned().into())
43+
.map(|&p| p.to_owned().into())
4444
.collect()
4545
}
4646

0 commit comments

Comments
 (0)