We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60077ef commit e39b32bCopy full SHA for e39b32b
src/macros-by-example.md
@@ -71,6 +71,7 @@ syntax named by _designator_. Valid designators are:
71
* `meta`: a [_MetaItem_], the contents of an attribute
72
* `lifetime`: a [LIFETIME_TOKEN]
73
* `vis`: a [_Visibility_] qualifier
74
+* `literal`: a [_LiteralPattern_] token. Examples: `4`, `-3`, `"String"`
75
76
[IDENTIFIER]: identifiers.html
77
[IDENTIFIER_OR_KEYWORD]: identifiers.html
@@ -85,6 +86,7 @@ syntax named by _designator_. Valid designators are:
85
86
[_TypePath_]: paths.html#paths-in-types
87
[_Type_]: types.html#type-expressions
88
[_Visibility_]: visibility-and-privacy.html
89
+[_LiteralPattern_]: patterns.html#literal-patterns
90
[token]: tokens.html
91
92
In the transcriber, the
0 commit comments