Remove TODO about Block since it was removed

This commit is contained in:
veetaha 2020-05-10 21:46:26 +03:00
parent 8a298eed7a
commit 1677f35ef1

View file

@ -349,9 +349,9 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
T![fn], T![fn],
ParamList, ParamList,
RetType, RetType,
body: BlockExpr, // TODO: maybe it makes sense to make it `Block` instead, body: BlockExpr,
T![;] // Or what if there may be a posibility of tryblocks as function body? T![;]
} // But try blocks are not `BlockExpr` }
/// Return type annotation. /// Return type annotation.
/// ///