about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-12-19 08:23:59 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-02-25 20:31:53 -0500
commit9a75f4fed10a65e6cb779fc059f272deadd7ecc1 (patch)
tree39313a495c8f8513f87f7891b1d9bbceb723cc53 /library/core/src/array
parentc0a54cc4eb6111cac9ad75cc439f75b79698b4a7 (diff)
downloadrust-9a75f4fed10a65e6cb779fc059f272deadd7ecc1.tar.gz
rust-9a75f4fed10a65e6cb779fc059f272deadd7ecc1.zip
Convert primitives to use intra-doc links
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/iter.rs2
-rw-r--r--library/core/src/array/mod.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs
index 535291471b1..4472fba26b9 100644
--- a/library/core/src/array/iter.rs
+++ b/library/core/src/array/iter.rs
@@ -9,8 +9,6 @@ use crate::{
 };
 
 /// A by-value [array] iterator.
-///
-/// [array]: ../../std/primitive.array.html
 #[stable(feature = "array_value_iter", since = "1.51.0")]
 pub struct IntoIter<T, const N: usize> {
     /// This is the array we are iterating over.
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs
index d4fd7545d9b..20251edf6f7 100644
--- a/library/core/src/array/mod.rs
+++ b/library/core/src/array/mod.rs
@@ -2,7 +2,7 @@
 //! up to a certain length. Eventually, we should be able to generalize
 //! to all lengths.
 //!
-//! *[See also the array primitive type](../../std/primitive.array.html).*
+//! *[See also the array primitive type](array).*
 
 #![stable(feature = "core_array", since = "1.36.0")]