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 @@ struct FnDef: VisibilityOwner, NameOwner, TypeParamsOwner, DocCommentsOwner, Att
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.
///