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]