Skip to content

Commit 44c72f6

Browse files
jyn514camelid
andauthored
Fix relative links
Co-authored-by: Camelid <[email protected]>
1 parent 21717f0 commit 44c72f6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/doc/rustdoc/src/linking-to-items-by-name.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ You can refer to anything in scope, and use paths, including `Self`, `self`, `su
3737
trait implementations][#79682]. Rustdoc also supports linking to the following primitives, which
3838
have no path and cannot be imported:
3939

40-
- [`slice`](../../std/primitive.slice.html)
41-
- [`array`](../../std/primitive.array.html)
42-
- [`tuple`](../../std/primitive.tuple.html)
43-
- [`unit`](../../std/primitive.unit.html)
44-
- [`fn`](../../std/primitive.fn.html)
45-
- [`pointer`](../../std/primitive.pointer.html), `*`, `*const`, or `*mut`
46-
- [`reference`](../../std/primitive.reference.html), `&`, or `&mut`
47-
- [`never`](../../std/primitive.never.html) or `!`
40+
- [`slice`](../std/primitive.slice.html)
41+
- [`array`](../std/primitive.array.html)
42+
- [`tuple`](../std/primitive.tuple.html)
43+
- [`unit`](../std/primitive.unit.html)
44+
- [`fn`](../std/primitive.fn.html)
45+
- [`pointer`](../std/primitive.pointer.html), `*`, `*const`, or `*mut`
46+
- [`reference`](../std/primitive.reference.html), `&`, or `&mut`
47+
- [`never`](../std/primitive.never.html) or `!`
4848

4949
[#79682]: https://github.com/rust-lang/rust/pull/79682
5050

0 commit comments

Comments
 (0)