Skip to content

Commit 341385a

Browse files
committed
fix code style
1 parent d334608 commit 341385a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • datafusion/expr/src/logical_plan

datafusion/expr/src/logical_plan/plan.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,10 +2385,10 @@ pub fn projection_schema(input: &LogicalPlan, exprs: &[Expr]) -> Result<Arc<DFSc
23852385
let inherited: HashSet<String> = exprs
23862386
.iter()
23872387
.filter_map(|e| {
2388-
if let Expr::Column(col) = e {
2389-
if input_ambiguous.contains(&col.name) {
2390-
return Some(col.name.clone());
2391-
}
2388+
if let Expr::Column(col) = e
2389+
&& input_ambiguous.contains(&col.name)
2390+
{
2391+
return Some(col.name.clone());
23922392
}
23932393
None
23942394
})

0 commit comments

Comments
 (0)