Skip to content

Commit 434eb96

Browse files
authored
Merge pull request #1130 from mattheww/2022-01_metavariable_names
Improve the documentation of macros-by-example metavariable names
2 parents 939819c + cc5acf8 commit 434eb96

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
@@ -23,7 +23,7 @@
2323
> _MacroMatch_ :\
2424
> &nbsp;&nbsp; &nbsp;&nbsp; [_Token_]<sub>_except $ and delimiters_</sub>\
2525
> &nbsp;&nbsp; | _MacroMatcher_\
26-
> &nbsp;&nbsp; | `$` [IDENTIFIER] `:` _MacroFragSpec_\
26+
> &nbsp;&nbsp; | `$` ( [IDENTIFIER_OR_KEYWORD] <sub>_except `crate`_</sub> | [RAW_IDENTIFIER] | `_` ) `:` _MacroFragSpec_\
2727
> &nbsp;&nbsp; | `$` `(` _MacroMatch_<sup>+</sup> `)` _MacroRepSep_<sup>?</sup> _MacroRepOp_
2828
>
2929
> _MacroFragSpec_ :\

0 commit comments

Comments
 (0)