Skip to content

Commit

Permalink
Fix relative links
Browse files Browse the repository at this point in the history
Co-authored-by: Camelid <[email protected]>
  • Loading branch information
jyn514 and camelid authored Jan 11, 2021
1 parent 21717f0 commit 44c72f6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/doc/rustdoc/src/linking-to-items-by-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ You can refer to anything in scope, and use paths, including `Self`, `self`, `su
trait implementations][#79682]. Rustdoc also supports linking to the following primitives, which
have no path and cannot be imported:

- [`slice`](../../std/primitive.slice.html)
- [`array`](../../std/primitive.array.html)
- [`tuple`](../../std/primitive.tuple.html)
- [`unit`](../../std/primitive.unit.html)
- [`fn`](../../std/primitive.fn.html)
- [`pointer`](../../std/primitive.pointer.html), `*`, `*const`, or `*mut`
- [`reference`](../../std/primitive.reference.html), `&`, or `&mut`
- [`never`](../../std/primitive.never.html) or `!`
- [`slice`](../std/primitive.slice.html)
- [`array`](../std/primitive.array.html)
- [`tuple`](../std/primitive.tuple.html)
- [`unit`](../std/primitive.unit.html)
- [`fn`](../std/primitive.fn.html)
- [`pointer`](../std/primitive.pointer.html), `*`, `*const`, or `*mut`
- [`reference`](../std/primitive.reference.html), `&`, or `&mut`
- [`never`](../std/primitive.never.html) or `!`

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

Expand Down

0 comments on commit 44c72f6

Please sign in to comment.