From 0e9bf6540f1b871ae54f4a2c1de8f3c476f65efa Mon Sep 17 00:00:00 2001 From: lolbinarycat Date: Mon, 21 Oct 2024 16:42:23 -0500 Subject: [PATCH] Update compiler-src.md fix conflicting link names that lead to the "chapter link" leading to rustdoc's source code instead. --- src/compiler-src.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler-src.md b/src/compiler-src.md index b9af73203..784781ce9 100644 --- a/src/compiler-src.md +++ b/src/compiler-src.md @@ -154,14 +154,14 @@ itself is [`src/tools/rustdoc`], which does nothing except call [`rustdoc::main` There is also `JavaScript` and `CSS` for the docs in [`src/tools/rustdoc-js`] and [`src/tools/rustdoc-themes`]. -You can read more about [`rustdoc`] in [this chapter][`rustdoc`]. +You can read more about [`rustdoc`] in [this chapter][rustdoc-chapter]. [`librustdoc`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/index.html [`rustdoc::main`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/fn.main.html [`src/tools/rustdoc-js`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc-js [`src/tools/rustdoc-themes`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc-themes [`src/tools/rustdoc`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc -[`rustdoc`]: ./rustdoc.md +[rustdoc-chapter]: ./rustdoc.md ## Tests