Skip to content

Commit b22cf23

Browse files
committed
Convert TODO about ParamList used in closures to a FIXME
cc @matklad (you didn't comment on this one)
1 parent 8d4c116 commit b22cf23

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xtask/src/ast_src.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,6 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
17841784
/// [While expression reference](https://doc.rust-lang.org/reference/expressions/loop-expr.html#predicate-loops)
17851785
struct Condition { T![let], Pat, T![=], Expr }
17861786

1787-
// TODO: this one is used by closure expressions too, but hey use pipes instead of parens
17881787
/// Parameter list **declaration**.
17891788
///
17901789
/// ```
@@ -1797,7 +1796,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
17971796
/// ```
17981797
///
17991798
/// [Reference](https://doc.rust-lang.org/reference/items/functions.html)ocs to codegen script
1800-
struct ParamList {
1799+
struct ParamList { // FIXME: this node is used by closure expressions too, but hey use pipes instead of parens...
18011800
T!['('],
18021801
SelfParam,
18031802
params: [Param],

0 commit comments

Comments
 (0)