Skip to content

Commit 7d85b72

Browse files
authored
Merge pull request #468 from da-x/literal-matcher-reference
Mention the literal macro matcher
2 parents 454401c + 90e9076 commit 7d85b72

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,13 +71,15 @@ 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`: matches `-`<sup>?</sup>[_LiteralExpression_]
7475

7576
[IDENTIFIER]: identifiers.html
7677
[IDENTIFIER_OR_KEYWORD]: identifiers.html
7778
[LIFETIME_TOKEN]: tokens.html#lifetimes-and-loop-labels
7879
[_BlockExpression_]: expressions/block-expr.html
7980
[_Expression_]: expressions.html
8081
[_Item_]: items.html
82+
[_LiteralExpression_]: expressions/literal-expr.html
8183
[_MetaItem_]: attributes.html
8284
[_Pattern_]: patterns.html
8385
[_Statement_]: statements.html

0 commit comments

Comments
 (0)