Use implicit reference links for shorter lines

(As suggested by jyn514.)
This commit is contained in:
follower 2020-09-27 22:16:59 +13:00 committed by Joshua Nelson
parent e2a1deb657
commit 506f2e77c1
1 changed files with 4 additions and 4 deletions

View File

@ -373,12 +373,12 @@ the submodule to. Running `./x.py build` should work now.
## Writing Documentation
Documentation improvements are very welcome. The source of `doc.rust-lang.org`
is located in [`src/doc`][srcdoc] in the tree, and standard API documentation is generated
from the source code itself (e.g. [`lib.rs`][librs]). Documentation pull requests function
is located in [`src/doc`] in the tree, and standard API documentation is generated
from the source code itself (e.g. [`lib.rs`]). Documentation pull requests function
in the same way as other pull requests.
[srcdoc]: https://github.com/rust-lang/rust/tree/master/src/doc
[librs]: https://github.com/rust-lang/rust/blob/master/library/std/src/lib.rs#L1
[`src/doc`]: https://github.com/rust-lang/rust/tree/master/src/doc
[`lib.rs`]: https://github.com/rust-lang/rust/blob/master/library/std/src/lib.rs#L1
To find documentation-related issues, sort by the [T-doc label][tdoc].