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 {
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user