Skip to content

Commit 330ce94

Browse files
camelidJoshua Nelson
and
Joshua Nelson
authored
Link to GitHub issue re macro resolution
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent b9c299e commit 330ce94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/rustdoc/src/linking-to-items-by-name.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,6 @@ struct Foo {}
8989
fn Foo() {}
9090
```
9191

92-
Note: Because of how `macro_rules!` macros are scoped in Rust, the intra-doc links of a `macro_rules!` macro will be resolved relative to the crate root, as opposed to the module it is defined in.
92+
Note: Because of how `macro_rules!` macros are scoped in Rust, the intra-doc links of a `macro_rules!` macro will be resolved [relative to the crate root][#72243], as opposed to the module it is defined in.
93+
94+
[#72243]: https://github.com/rust-lang/rust/issues/72243

0 commit comments

Comments
 (0)