Skip to content

Commit 8658269

Browse files
committed
Fix pat fragment specifier to be the "current" edition
1 parent d953a36 commit 8658269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros-by-example.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Valid fragment specifiers are:
145145
* `lifetime`: a [LIFETIME_TOKEN]
146146
* `literal`: matches `-`<sup>?</sup>[_LiteralExpression_]
147147
* `meta`: an [_Attr_], the contents of an attribute
148-
* `pat`: at least any [_PatternNoTopAlt_], and possibly more depending on edition
148+
* `pat`: a [_Pattern_] (see [macro.decl.meta.edition2021])
149149
* `pat_param`: a [_PatternNoTopAlt_]
150150
* `path`: a [_TypePath_] style path
151151
* `stmt`: a [_Statement_] without the trailing semicolon (except for item statements that require semicolons)

0 commit comments

Comments
 (0)