Skip to content

Commit

Permalink
Merge pull request #1182 from felixrabe/patch-1
Browse files Browse the repository at this point in the history
Link to Reference for macro_rules designators
  • Loading branch information
marioidival committed Apr 23, 2019
2 parents a90b64a + da3fd29 commit 68ea088
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/macros/designators.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn main() {
}
```

This is a list of all the designators:
These are some of the available designators:

* `block`
* `expr` is used for expressions
Expand All @@ -61,3 +61,7 @@ This is a list of all the designators:
* `tt` (*token tree*)
* `ty` (*type*)
* `vis` (*visibility qualifier*)

For a complete list, see the [Rust Reference].

[Rust Reference]: https://doc.rust-lang.org/reference/macros-by-example.html

0 comments on commit 68ea088

Please sign in to comment.