Skip to content

Commit 24bc4bf

Browse files
committed
Mention the literal macro matcher
1 parent daaa103 commit 24bc4bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: 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 [_Literal_] 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+
[_Literal_]: literal-expr.html
8890
[token]: tokens.html
8991

9092
In the transcriber, the

0 commit comments

Comments
 (0)