We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a35793c + b1e1721 commit acc2e39Copy full SHA for acc2e39
src/macros-by-example.md
@@ -31,6 +31,7 @@ syntax named by _designator_. Valid designators are:
31
* `tt`: a token tree (a single [token] by matching `()`, `[]`, or `{}`)
32
* `meta`: the contents of an [attribute]
33
* `lifetime`: a lifetime. Examples: `'static`, `'a`.
34
+* `vis`: a (visibility qualifier)[visibility-and-privacy]
35
36
[item]: items.html
37
[block]: expressions/block-expr.html
@@ -43,6 +44,7 @@ syntax named by _designator_. Valid designators are:
43
44
[path]: paths.html
45
[token]: tokens.html
46
[attribute]: attributes.html
47
+[visibility-and-privacy]: visibility-and-privacy.html
48
49
In the transcriber, the
50
designator is already known, and so only the name of a matched nonterminal comes
0 commit comments