File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2828>
2929> _ MacroFragSpec_ :\
3030>   ;  ;   ;  ; ` block ` | ` expr ` | ` ident ` | ` item ` | ` lifetime ` | ` literal ` \
31- >   ;  ; | ` meta ` | ` pat ` | ` path ` | ` stmt ` | ` tt ` | ` ty ` | ` vis `
31+ >   ;  ; | ` meta ` | ` pat ` | ` pat_param ` | ` path ` | ` stmt ` | ` tt ` | ` ty ` | ` vis `
3232>
3333> _ MacroRepSep_ :\
3434>   ;  ; [ _ Token_ ] <sub >_ except delimiters and repetition operators_ </sub >
@@ -122,7 +122,8 @@ fragment specifiers are:
122122 * ` block ` : a [ _ BlockExpression_ ]
123123 * ` stmt ` : a [ _ Statement_ ] without the trailing semicolon (except for item
124124 statements that require semicolons)
125- * ` pat ` : a [ _ PatternNoTopAlt_ ]
125+ * ` pat_param ` : a [ _ PatternNoTopAlt_ ]
126+ * ` pat ` : equivalent to ` pat_param `
126127 * ` expr ` : an [ _ Expression_ ]
127128 * ` ty ` : a [ _ Type_ ]
128129 * ` ident ` : an [ IDENTIFIER_OR_KEYWORD]
You can’t perform that action at this time.
0 commit comments