Skip to content

Commit 1947568

Browse files
committed
Say that macros-by-example ident metavariables can match raw identifiers
Closes #610
1 parent c075dc0 commit 1947568

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/macros-by-example.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ fragment specifiers are:
126126
* `pat`: equivalent to `pat_param`
127127
* `expr`: an [_Expression_]
128128
* `ty`: a [_Type_]
129-
* `ident`: an [IDENTIFIER_OR_KEYWORD]
129+
* `ident`: an [IDENTIFIER_OR_KEYWORD] or [RAW_IDENTIFIER]
130130
* `path`: a [_TypePath_] style path
131131
* `tt`: a [_TokenTree_] (a single [token] or tokens in matching delimiters `()`, `[]`, or `{}`)
132132
* `meta`: an [_Attr_], the contents of an attribute
@@ -479,6 +479,7 @@ For more detail, see the [formal specification].
479479
[Hygiene]: #hygiene
480480
[IDENTIFIER]: identifiers.md
481481
[IDENTIFIER_OR_KEYWORD]: identifiers.md
482+
[RAW_IDENTIFIER]: identifiers.md
482483
[LIFETIME_TOKEN]: tokens.md#lifetimes-and-loop-labels
483484
[Metavariables]: #metavariables
484485
[Repetitions]: #repetitions

0 commit comments

Comments
 (0)