Skip to content

Commit

Permalink
Update compiler-src.md (#2102)
Browse files Browse the repository at this point in the history
fix conflicting link names that lead to the "chapter link" leading to rustdoc's source code instead.
  • Loading branch information
lolbinarycat authored Oct 24, 2024
1 parent 59d94ea commit 49afa1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler-src.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 49afa1d

Please sign in to comment.