From 1677f35ef1686b96db704b397ba13abd4f03e1f1 Mon Sep 17 00:00:00 2001 From: veetaha Date: Sun, 10 May 2020 21:46:26 +0300 Subject: Remove TODO about Block since it was removed --- xtask/src/ast_src.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xtask/src') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index deb9f690d..405f6b337 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -349,9 +349,9 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { T![fn], ParamList, RetType, - body: BlockExpr, // TODO: maybe it makes sense to make it `Block` instead, - T![;] // Or what if there may be a posibility of tryblocks as function body? - } // But try blocks are not `BlockExpr` + body: BlockExpr, + T![;] + } /// Return type annotation. /// -- cgit v1.2.3