Skip to content

Commit e39b32b

Browse files
committed
Mention the literal macro matcher
1 parent 60077ef commit e39b32b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/macros-by-example.md

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ syntax named by _designator_. Valid designators are:
7171
* `meta`: a [_MetaItem_], the contents of an attribute
7272
* `lifetime`: a [LIFETIME_TOKEN]
7373
* `vis`: a [_Visibility_] qualifier
74+
* `literal`: a [_LiteralPattern_] token. Examples: `4`, `-3`, `"String"`
7475

7576
[IDENTIFIER]: identifiers.html
7677
[IDENTIFIER_OR_KEYWORD]: identifiers.html
@@ -85,6 +86,7 @@ syntax named by _designator_. Valid designators are:
8586
[_TypePath_]: paths.html#paths-in-types
8687
[_Type_]: types.html#type-expressions
8788
[_Visibility_]: visibility-and-privacy.html
89+
[_LiteralPattern_]: patterns.html#literal-patterns
8890
[token]: tokens.html
8991

9092
In the transcriber, the

0 commit comments

Comments
 (0)