Remove TODO about Block since it was removed
This commit is contained in:
parent
8a298eed7a
commit
1677f35ef1
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user