Skip to content

Commit 629e7df

Browse files
committed
Temporarily remove pat_param.
It is not clear if #83386 will merge in time for 1.53. I'd like to get the rest of this in for that release.
1 parent 4b574ca commit 629e7df

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/macros-by-example.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
>
2929
> _MacroFragSpec_ :\
3030
>       `block` | `expr` | `ident` | `item` | `lifetime` | `literal`\
31-
>    | `meta` | `pat` | `pat_param` | `path` | `stmt` | `tt` | `ty` | `vis`
31+
>    | `meta` | `pat` | `path` | `stmt` | `tt` | `ty` | `vis`
3232
>
3333
> _MacroRepSep_ :\
3434
> &nbsp;&nbsp; [_Token_]<sub>_except delimiters and repetition operators_</sub>
@@ -122,8 +122,7 @@ 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_param`: a [_PatternNoTopAlt_]
126-
* `pat`: equivalent to `pat_param`
125+
* `pat`: a [_PatternNoTopAlt_]
127126
* `expr`: an [_Expression_]
128127
* `ty`: a [_Type_]
129128
* `ident`: an [IDENTIFIER_OR_KEYWORD]

0 commit comments

Comments
 (0)