Skip to content
Open
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: 3 additions & 3 deletions src/macros/designators.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Designators

The arguments of a macro are prefixed by a dollar sign `$` and type annotated
with a *designator*:
with a *designator*, also called a *fragment specifier*:

```rust,editable
macro_rules! create_function {
Expand Down Expand Up @@ -62,6 +62,6 @@ These are some of the available designators:
* `ty` (*type*)
* `vis` (*visibility qualifier*)

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

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