Skip to content

Commit 49afa1d

Browse files
authored
Update compiler-src.md (#2102)
fix conflicting link names that lead to the "chapter link" leading to rustdoc's source code instead.
1 parent 59d94ea commit 49afa1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler-src.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ itself is [`src/tools/rustdoc`], which does nothing except call [`rustdoc::main`
154154
There is also `JavaScript` and `CSS` for the docs in [`src/tools/rustdoc-js`]
155155
and [`src/tools/rustdoc-themes`].
156156

157-
You can read more about [`rustdoc`] in [this chapter][`rustdoc`].
157+
You can read more about [`rustdoc`] in [this chapter][rustdoc-chapter].
158158

159159
[`librustdoc`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/index.html
160160
[`rustdoc::main`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc/fn.main.html
161161
[`src/tools/rustdoc-js`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc-js
162162
[`src/tools/rustdoc-themes`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc-themes
163163
[`src/tools/rustdoc`]: https://github.com/rust-lang/rust/tree/master/src/tools/rustdoc
164-
[`rustdoc`]: ./rustdoc.md
164+
[rustdoc-chapter]: ./rustdoc.md
165165

166166
## Tests
167167

0 commit comments

Comments
 (0)