about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustdoc/src/linking-to-items-by-name.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/doc/rustdoc/src/linking-to-items-by-name.md b/src/doc/rustdoc/src/linking-to-items-by-name.md
index eb7ef78a659..02390f658af 100644
--- a/src/doc/rustdoc/src/linking-to-items-by-name.md
+++ b/src/doc/rustdoc/src/linking-to-items-by-name.md
@@ -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