Skip to content

Commit 68ea088

Browse files
authored
Merge pull request #1182 from felixrabe/patch-1
Link to Reference for macro_rules designators
2 parents a90b64a + da3fd29 commit 68ea088

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/macros/designators.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn main() {
4848
}
4949
```
5050

51-
This is a list of all the designators:
51+
These are some of the available designators:
5252

5353
* `block`
5454
* `expr` is used for expressions
@@ -61,3 +61,7 @@ This is a list of all the designators:
6161
* `tt` (*token tree*)
6262
* `ty` (*type*)
6363
* `vis` (*visibility qualifier*)
64+
65+
For a complete list, see the [Rust Reference].
66+
67+
[Rust Reference]: https://doc.rust-lang.org/reference/macros-by-example.html

0 commit comments

Comments
 (0)