summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorlolbinarycat <dogedoge61+github@gmail.com>2024-10-24 15:33:08 -0500
committerGitHub <noreply@github.com>2024-10-24 17:33:08 -0300
commit13bbf491247d5b3a3274e7c6ef16fd28475a3611 (patch)
tree65acbc9f5ff98a29742aeac9360acb90461e09f1 /src/doc/rustc-dev-guide
parentdd35c1b5f4b4783fc37f5953aada20ad0a6af5cd (diff)
downloadrust-13bbf491247d5b3a3274e7c6ef16fd28475a3611.tar.gz
rust-13bbf491247d5b3a3274e7c6ef16fd28475a3611.zip
Update compiler-src.md (#2102)
fix conflicting link names that lead to the "chapter link" leading to rustdoc's source code instead.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/compiler-src.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-src.md b/src/doc/rustc-dev-guide/src/compiler-src.md
index b9af7320329..784781ce9ca 100644
--- a/src/doc/rustc-dev-guide/src/compiler-src.md
+++ b/src/doc/rustc-dev-guide/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