ast_impl: Forgot to impl From<Expr> for StmtKind (whoops!)

This commit is contained in:
John 2024-02-27 22:49:14 -06:00
parent 5484d96e7d
commit 9806e95247

View File

@ -690,7 +690,7 @@ mod convert {
impl From for StmtKind { impl From for StmtKind {
Let => StmtKind::Local, Let => StmtKind::Local,
Item => StmtKind::Item, Item => StmtKind::Item,
// NOTE: There are multiple conversions from Expr to StmtKind Expr => StmtKind::Expr,
} }
impl From for ExprKind { impl From for ExprKind {
Assign => ExprKind::Assign, Assign => ExprKind::Assign,