Skip to content

Commit 7d46ec0

Browse files
committed
cargo fmt
1 parent 1c8af88 commit 7d46ec0

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

src/repr/src/scalar.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2962,8 +2962,8 @@ impl ScalarType {
29622962
})
29632963
}
29642964
//////////////// todo: comment
2965-
(String, VarChar {max_length: None}) => true,
2966-
(VarChar {max_length: None}, String) => true,
2965+
(String, VarChar { max_length: None }) => true,
2966+
(VarChar { max_length: None }, String) => true,
29672967
(s, o) => ScalarBaseType::from(s) == ScalarBaseType::from(o),
29682968
}
29692969
}

src/sql/src/plan/lowering.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -969,16 +969,9 @@ impl HirScalarExpr {
969969
)?),
970970
}
971971
} else {
972-
expr.applied_to(
973-
id_gen,
974-
col_map,
975-
cte_map,
976-
inner,
977-
subquery_map,
978-
context,
979-
)?
972+
expr.applied_to(id_gen, col_map, cte_map, inner, subquery_map, context)?
980973
}
981-
},
974+
}
982975
CallBinary { func, expr1, expr2 } => SS::CallBinary {
983976
func,
984977
expr1: Box::new(expr1.applied_to(

0 commit comments

Comments
 (0)