Skip to content

Commit 5526d06

Browse files
committed
chore: fix
1 parent d7ac095 commit 5526d06

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rust/cubesql/cubesql/src/compile/engine/df/optimizers/plan_normalize.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,7 @@ fn expr_normalize(ctx: &Box<PlanNormalizeContext>, expr: &Expr) -> Result<Box<Ex
722722
let expr = expr.as_ref().map(|e| expr_normalize(ctx, e)).transpose()?;
723723
let when_then_expr = when_then_expr
724724
.iter()
725-
.map(|(when, then)| {
726-
Ok((expr_normalize(ctx, when)?, expr_normalize(ctx, then)?))
727-
})
725+
.map(|(when, then)| Ok((expr_normalize(ctx, when)?, expr_normalize(ctx, then)?)))
728726
.collect::<Result<Vec<_>>>()?;
729727
let else_expr = else_expr
730728
.as_ref()

0 commit comments

Comments
 (0)