diff options
-rw-r--r-- | xtask/src/ast_src.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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 { | |||
349 | T![fn], | 349 | T![fn], |
350 | ParamList, | 350 | ParamList, |
351 | RetType, | 351 | RetType, |
352 | body: BlockExpr, // TODO: maybe it makes sense to make it `Block` instead, | 352 | body: BlockExpr, |
353 | T![;] // Or what if there may be a posibility of tryblocks as function body? | 353 | T![;] |
354 | } // But try blocks are not `BlockExpr` | 354 | } |
355 | 355 | ||
356 | /// Return type annotation. | 356 | /// Return type annotation. |
357 | /// | 357 | /// |