Skip to content

Commit 18fa8fb

Browse files
JohnTitorjyn514
authored andcommitted
Fix the link to ProcMacro trait
Signed-off-by: Yuki Okushi <[email protected]>
1 parent c0b491e commit 18fa8fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/macro-expansion.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -427,12 +427,12 @@ Some important data structures/interfaces here:
427427
- [`SyntaxExtensionKind`] - expander functions may have several different
428428
signatures (take one token stream, or two, or a piece of AST, etc). This is
429429
an enum that lists them.
430-
- [`ProcMacro`]/[`TTMacroExpander`]/[`AttrProcMacro`]/[`MultiItemModifier`] -
430+
- [`BangProcMacro`]/[`TTMacroExpander`]/[`AttrProcMacro`]/[`MultiItemModifier`] -
431431
traits representing the expander function signatures.
432432

433433
[`SyntaxExtension`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/base/struct.SyntaxExtension.html
434434
[`SyntaxExtensionKind`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/base/enum.SyntaxExtensionKind.html
435-
[`ProcMacro`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/base/trait.ProcMacro.html
435+
[`BangProcMacro`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/base/trait.BangProcMacro.html
436436
[`TTMacroExpander`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/base/trait.TTMacroExpander.html
437437
[`AttrProcMacro`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/base/trait.AttrProcMacro.html
438438
[`MultiItemModifier`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_expand/base/trait.MultiItemModifier.html

0 commit comments

Comments
 (0)