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 e281cf57a6
commit 6b5c62c6f8
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 ## Writing Documentation
Documentation improvements are very welcome. The source of `doc.rust-lang.org` 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 is located in [`src/doc`] in the tree, and standard API documentation is generated
from the source code itself (e.g. [`lib.rs`][librs]). Documentation pull requests function from the source code itself (e.g. [`lib.rs`]). Documentation pull requests function
in the same way as other pull requests. in the same way as other pull requests.
[srcdoc]: https://github.com/rust-lang/rust/tree/master/src/doc [`src/doc`]: 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 [`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]. To find documentation-related issues, sort by the [T-doc label][tdoc].