Skip to content

Commit 3d9a778

Browse files
ehussda-x
andauthored
Update src/macros-by-example.md
Co-Authored-By: da-x <alonid@gmail.com>
1 parent e39b32b commit 3d9a778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros-by-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +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"`
74+
* `literal`: matches `-`<sup>?</sup>[_LiteralExpression_]
7575

7676
[IDENTIFIER]: identifiers.html
7777
[IDENTIFIER_OR_KEYWORD]: identifiers.html

0 commit comments

Comments
 (0)