Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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