Skip to content

Commit

Permalink
Merge pull request #400 from jkozlowski/stabilize-macro_vis_matcher
Browse files Browse the repository at this point in the history
Stabilize macro_vis_matcher
  • Loading branch information
matthewjasper authored Sep 5, 2018
2 parents a35793c + b1e1721 commit acc2e39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macros-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ syntax named by _designator_. Valid designators are:
* `tt`: a token tree (a single [token] by matching `()`, `[]`, or `{}`)
* `meta`: the contents of an [attribute]
* `lifetime`: a lifetime. Examples: `'static`, `'a`.
* `vis`: a (visibility qualifier)[visibility-and-privacy]

[item]: items.html
[block]: expressions/block-expr.html
Expand All @@ -43,6 +44,7 @@ syntax named by _designator_. Valid designators are:
[path]: paths.html
[token]: tokens.html
[attribute]: attributes.html
[visibility-and-privacy]: visibility-and-privacy.html

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

0 comments on commit acc2e39

Please sign in to comment.