feat: Implement `LiteralExpr` for `bool`
parent
d5719f9be2
commit
bf4fce3c77
|
@ -657,6 +657,12 @@ impl LiteralExpr for Duration {
|
|||
}
|
||||
}
|
||||
|
||||
impl LiteralExpr for bool {
|
||||
fn lit(self) -> Expr {
|
||||
Expr::Literal(Literal::Boolean(self))
|
||||
}
|
||||
}
|
||||
|
||||
impl LiteralExpr for i64 {
|
||||
fn lit(self) -> Expr {
|
||||
Expr::Literal(Literal::Integer(self))
|
||||
|
|
Loading…
Reference in New Issue