Convert TODO about ParamList used in closures to a FIXME

cc @matklad (you didn't comment on this one)
This commit is contained in:
veetaha 2020-05-12 23:58:51 +03:00
parent 8d4c11625a
commit b22cf23ad1

View file

@ -1784,7 +1784,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
/// [While expression reference](https://doc.rust-lang.org/reference/expressions/loop-expr.html#predicate-loops)
struct Condition { T![let], Pat, T![=], Expr }
// TODO: this one is used by closure expressions too, but hey use pipes instead of parens
/// Parameter list **declaration**.
///
/// ```
@ -1797,7 +1796,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
/// ```
///
/// [Reference](https://doc.rust-lang.org/reference/items/functions.html)ocs to codegen script
struct ParamList {
struct ParamList { // FIXME: this node is used by closure expressions too, but hey use pipes instead of parens...
T!['('],
SelfParam,
params: [Param],