Skip to content

Commit 1677f35

Browse files
committed
Remove TODO about Block since it was removed
1 parent 8a298ee commit 1677f35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xtask/src/ast_src.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,9 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
349349
T![fn],
350350
ParamList,
351351
RetType,
352-
body: BlockExpr, // TODO: maybe it makes sense to make it `Block` instead,
353-
T![;] // Or what if there may be a posibility of tryblocks as function body?
354-
} // But try blocks are not `BlockExpr`
352+
body: BlockExpr,
353+
T![;]
354+
}
355355

356356
/// Return type annotation.
357357
///

0 commit comments

Comments
 (0)