Skip to content

Commit 6b5c62c

Browse files
followerJoshua Nelson
authored and
Joshua Nelson
committed
Use implicit reference links for shorter lines
(As suggested by jyn514.)
1 parent e281cf5 commit 6b5c62c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/contributing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,12 @@ the submodule to. Running `./x.py build` should work now.
373373
## Writing Documentation
374374

375375
Documentation improvements are very welcome. The source of `doc.rust-lang.org`
376-
is located in [`src/doc`][srcdoc] in the tree, and standard API documentation is generated
377-
from the source code itself (e.g. [`lib.rs`][librs]). Documentation pull requests function
376+
is located in [`src/doc`] in the tree, and standard API documentation is generated
377+
from the source code itself (e.g. [`lib.rs`]). Documentation pull requests function
378378
in the same way as other pull requests.
379379

380-
[srcdoc]: https://github.com/rust-lang/rust/tree/master/src/doc
381-
[librs]: https://github.com/rust-lang/rust/blob/master/library/std/src/lib.rs#L1
380+
[`src/doc`]: https://github.com/rust-lang/rust/tree/master/src/doc
381+
[`lib.rs`]: https://github.com/rust-lang/rust/blob/master/library/std/src/lib.rs#L1
382382

383383
To find documentation-related issues, sort by the [T-doc label][tdoc].
384384

0 commit comments

Comments
 (0)