We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39b32b commit 3d9a778Copy full SHA for 3d9a778
src/macros-by-example.md
@@ -71,7 +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"`
+* `literal`: matches `-`<sup>?</sup>[_LiteralExpression_]
75
76
[IDENTIFIER]: identifiers.html
77
[IDENTIFIER_OR_KEYWORD]: identifiers.html
0 commit comments