mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Remove TODO about Block since it was removed
This commit is contained in:
parent
8a298eed7a
commit
1677f35ef1
1 changed files with 3 additions and 3 deletions
|
@ -349,9 +349,9 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
||||||
T![fn],
|
T![fn],
|
||||||
ParamList,
|
ParamList,
|
||||||
RetType,
|
RetType,
|
||||||
body: BlockExpr, // TODO: maybe it makes sense to make it `Block` instead,
|
body: BlockExpr,
|
||||||
T![;] // Or what if there may be a posibility of tryblocks as function body?
|
T![;]
|
||||||
} // But try blocks are not `BlockExpr`
|
}
|
||||||
|
|
||||||
/// Return type annotation.
|
/// Return type annotation.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue