ast_impl: Forgot to impl From<Expr> for StmtKind (whoops!)
This commit is contained in:
parent
5484d96e7d
commit
9806e95247
@ -690,7 +690,7 @@ mod convert {
|
||||
impl From for StmtKind {
|
||||
Let => StmtKind::Local,
|
||||
Item => StmtKind::Item,
|
||||
// NOTE: There are multiple conversions from Expr to StmtKind
|
||||
Expr => StmtKind::Expr,
|
||||
}
|
||||
impl From for ExprKind {
|
||||
Assign => ExprKind::Assign,
|
||||
|
Loading…
Reference in New Issue
Block a user