Skip to content

Commit

Permalink
Fix clippy (#3182)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Aug 16, 2022
1 parent fe42dd7 commit 23866cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/optimizer/src/eliminate_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ mod tests {

let false_filter = lit(false);
let table_scan = test_table_scan().unwrap();
let plan1 = LogicalPlanBuilder::from(table_scan.clone())
let plan1 = LogicalPlanBuilder::from(table_scan)
.project(vec![col("a")])
.unwrap()
.filter(false_filter)
Expand All @@ -199,7 +199,7 @@ mod tests {
.unwrap();

let true_filter = lit(true);
let plan = LogicalPlanBuilder::from(plan1.clone())
let plan = LogicalPlanBuilder::from(plan1)
.project(vec![col("a")])
.unwrap()
.filter(true_filter)
Expand Down

0 comments on commit 23866cd

Please sign in to comment.