diff options
| author | follower <follower@rancidbacon.com> | 2020-09-27 22:16:59 +1300 |
|---|---|---|
| committer | Joshua Nelson <joshua@yottadb.com> | 2020-09-27 10:37:22 -0400 |
| commit | 2e9a2f3c754da557728f9768dbb8f9c8c85a36ef (patch) | |
| tree | 878e33cd506509e07a8e86efcf35c6c894f25e69 /src/doc/rustc-dev-guide | |
| parent | 0e2c9cccb95dfbd7a723beffbe5a09d118d99e48 (diff) | |
| download | rust-2e9a2f3c754da557728f9768dbb8f9c8c85a36ef.tar.gz rust-2e9a2f3c754da557728f9768dbb8f9c8c85a36ef.zip | |
Use implicit reference links for shorter lines
(As suggested by jyn514.)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/contributing.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/contributing.md b/src/doc/rustc-dev-guide/src/contributing.md index b797a6b0abe..5dd80c93349 100644 --- a/src/doc/rustc-dev-guide/src/contributing.md +++ b/src/doc/rustc-dev-guide/src/contributing.md @@ -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]. |
