Skip to content

Commit dfe398b

Browse files
JohnTitorJoshua Nelson
authored andcommitted
Fix a link about Rustdoc internals
1 parent 32c6d27 commit dfe398b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/rustdoc.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ Rustdoc actually uses the rustc internals directly. It lives in-tree with the
44
compiler and standard library. This chapter is about how it works.
55
For information about Rustdoc's features and how to use them, see
66
the [Rustdoc book](https://doc.rust-lang.org/nightly/rustdoc/).
7-
For more details about how rustdoc works, see the ["Rustdoc internals" chapter].
7+
For more details about how rustdoc works, see the
8+
["Rustdoc internals" chapter][Rustdoc internals].
89

9-
["Rustdoc internals" chapter]: ./rustdoc-internals.md
10+
[Rustdoc internals]: ./rustdoc-internals.md
1011

1112
Rustdoc is implemented entirely within the crate [`librustdoc`][rd]. It runs
1213
the compiler up to the point where we have an internal representation of a
@@ -47,7 +48,7 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
4748
bundle is meant to be used as though you would copy out the `doc` folder to
4849
a web server, since that's where the CSS/JS and landing page are.
4950
* Use `x.py test src/test/rustdoc*` to run the tests using a stage1 rustdoc.
50-
* See [rustdoc internals] for more information about tests.
51+
* See [Rustdoc internals] for more information about tests.
5152
* Most of the HTML printing code is in `html/format.rs` and `html/render.rs`.
5253
It's in a bunch of `fmt::Display` implementations and supplementary
5354
functions.

0 commit comments

Comments
 (0)