Skip to content

Commit acc2e39

Browse files
Merge pull request #400 from jkozlowski/stabilize-macro_vis_matcher
Stabilize macro_vis_matcher
2 parents a35793c + b1e1721 commit acc2e39

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
@@ -31,6 +31,7 @@ syntax named by _designator_. Valid designators are:
3131
* `tt`: a token tree (a single [token] by matching `()`, `[]`, or `{}`)
3232
* `meta`: the contents of an [attribute]
3333
* `lifetime`: a lifetime. Examples: `'static`, `'a`.
34+
* `vis`: a (visibility qualifier)[visibility-and-privacy]
3435

3536
[item]: items.html
3637
[block]: expressions/block-expr.html
@@ -43,6 +44,7 @@ syntax named by _designator_. Valid designators are:
4344
[path]: paths.html
4445
[token]: tokens.html
4546
[attribute]: attributes.html
47+
[visibility-and-privacy]: visibility-and-privacy.html
4648

4749
In the transcriber, the
4850
designator is already known, and so only the name of a matched nonterminal comes

0 commit comments

Comments
 (0)