Skip to content

Commit 557f235

Browse files
committed
clippy
1 parent da9904f commit 557f235

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sources/sql/src/rewrite/plan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ fn rewrite_plan_with_known_rewrites(
318318
}
319319
LogicalPlan::Join(datafusion::logical_expr::Join { on, filter, .. }) => {
320320
let mut new_expressions = vec![];
321-
if on.len() > 0 {
321+
if !on.is_empty() {
322322
for (left, right) in on {
323323
let left = rewrite_table_scans_in_expr(
324324
left.clone(),

0 commit comments

Comments
 (0)