From 9806e95247990afc5456a61d3a4c804109f2279f Mon Sep 17 00:00:00 2001 From: John Date: Tue, 27 Feb 2024 22:49:14 -0600 Subject: [PATCH] ast_impl: Forgot to impl From for StmtKind (whoops!) --- libconlang/src/ast/ast_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libconlang/src/ast/ast_impl.rs b/libconlang/src/ast/ast_impl.rs index ea8818d..db255eb 100644 --- a/libconlang/src/ast/ast_impl.rs +++ b/libconlang/src/ast/ast_impl.rs @@ -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,