From 629e7df5dc6fda16af98bc40cd139de0e0fa73a2 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 28 Apr 2021 11:11:10 -0700 Subject: [PATCH] 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. --- src/macros-by-example.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/macros-by-example.md b/src/macros-by-example.md index 3bdf9ce41..172b9863e 100644 --- a/src/macros-by-example.md +++ b/src/macros-by-example.md @@ -28,7 +28,7 @@ > > _MacroFragSpec_ :\ >       `block` | `expr` | `ident` | `item` | `lifetime` | `literal`\ ->    | `meta` | `pat` | `pat_param` | `path` | `stmt` | `tt` | `ty` | `vis` +>    | `meta` | `pat` | `path` | `stmt` | `tt` | `ty` | `vis` > > _MacroRepSep_ :\ >    [_Token_]_except delimiters and repetition operators_ @@ -122,8 +122,7 @@ fragment specifiers are: * `block`: a [_BlockExpression_] * `stmt`: a [_Statement_] without the trailing semicolon (except for item statements that require semicolons) - * `pat_param`: a [_PatternNoTopAlt_] - * `pat`: equivalent to `pat_param` + * `pat`: a [_PatternNoTopAlt_] * `expr`: an [_Expression_] * `ty`: a [_Type_] * `ident`: an [IDENTIFIER_OR_KEYWORD]