diff options
author | veetaha <[email protected]> | 2020-05-10 19:46:26 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-05-10 19:46:26 +0100 |
commit | 1677f35ef1686b96db704b397ba13abd4f03e1f1 (patch) | |
tree | 0292d8160b2217feec8af54ab7762eb371141dac | |
parent | 8a298eed7a2f68fdf014f92e5b5a7010dcae1f0b (diff) |
Remove TODO about Block since it was removed
-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 | /// |