about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara <m-ou.se@m-ou.se>2021-02-25 12:41:39 +0100
committerMara Bos <m-ou.se@m-ou.se>2021-02-25 13:45:57 +0100
commit76fd8d7e74a000be4d736c47b55c583d31c907d0 (patch)
treee45ef21edd0d5f94da3348857b11b3a622e1273d
parentd274d87e10af104051e1e71f56539b20350dbdda (diff)
downloadrust-76fd8d7e74a000be4d736c47b55c583d31c907d0.tar.gz
rust-76fd8d7e74a000be4d736c47b55c583d31c907d0.zip
Use intra-doc links.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
-rw-r--r--library/core/src/prelude/mod.rs6
-rw-r--r--library/core/src/prelude/v1.rs2
-rw-r--r--library/std/src/prelude/mod.rs6
-rw-r--r--library/std/src/prelude/v1.rs2
4 files changed, 8 insertions, 8 deletions
diff --git a/library/core/src/prelude/mod.rs b/library/core/src/prelude/mod.rs
index 1cb65eabb9a..8f57db49496 100644
--- a/library/core/src/prelude/mod.rs
+++ b/library/core/src/prelude/mod.rs
@@ -10,7 +10,7 @@ pub mod v1;
 
 /// The 2015 version of the core prelude.
 ///
-/// See the [module-level documentation](../index.html) for more.
+/// See the [module-level documentation](self) for more.
 #[unstable(feature = "prelude_2015", issue = "none")]
 pub mod rust_2015 {
     #[unstable(feature = "prelude_2015", issue = "none")]
@@ -20,7 +20,7 @@ pub mod rust_2015 {
 
 /// The 2018 version of the core prelude.
 ///
-/// See the [module-level documentation](../index.html) for more.
+/// See the [module-level documentation](self) for more.
 #[unstable(feature = "prelude_2018", issue = "none")]
 pub mod rust_2018 {
     #[unstable(feature = "prelude_2018", issue = "none")]
@@ -30,7 +30,7 @@ pub mod rust_2018 {
 
 /// The 2021 version of the core prelude.
 ///
-/// See the [module-level documentation](../index.html) for more.
+/// See the [module-level documentation](self) for more.
 #[unstable(feature = "prelude_2021", issue = "none")]
 pub mod rust_2021 {
     #[unstable(feature = "prelude_2021", issue = "none")]
diff --git a/library/core/src/prelude/v1.rs b/library/core/src/prelude/v1.rs
index 993281fe882..dbbd10cd993 100644
--- a/library/core/src/prelude/v1.rs
+++ b/library/core/src/prelude/v1.rs
@@ -1,6 +1,6 @@
 //! The first version of the core prelude.
 //!
-//! See the [module-level documentation](../index.html) for more.
+//! See the [module-level documentation](super) for more.
 
 #![stable(feature = "core_prelude", since = "1.4.0")]
 
diff --git a/library/std/src/prelude/mod.rs b/library/std/src/prelude/mod.rs
index bb45aed90e7..505b5f3013b 100644
--- a/library/std/src/prelude/mod.rs
+++ b/library/std/src/prelude/mod.rs
@@ -87,7 +87,7 @@ pub mod v1;
 
 /// The 2015 version of the prelude of The Rust Standard Library.
 ///
-/// See the [module-level documentation](../index.html) for more.
+/// See the [module-level documentation](self) for more.
 #[unstable(feature = "prelude_2015", issue = "none")]
 pub mod rust_2015 {
     #[unstable(feature = "prelude_2015", issue = "none")]
@@ -97,7 +97,7 @@ pub mod rust_2015 {
 
 /// The 2018 version of the prelude of The Rust Standard Library.
 ///
-/// See the [module-level documentation](../index.html) for more.
+/// See the [module-level documentation](self) for more.
 #[unstable(feature = "prelude_2018", issue = "none")]
 pub mod rust_2018 {
     #[unstable(feature = "prelude_2018", issue = "none")]
@@ -107,7 +107,7 @@ pub mod rust_2018 {
 
 /// The 2021 version of the prelude of The Rust Standard Library.
 ///
-/// See the [module-level documentation](../index.html) for more.
+/// See the [module-level documentation](self) for more.
 #[unstable(feature = "prelude_2021", issue = "none")]
 pub mod rust_2021 {
     #[unstable(feature = "prelude_2021", issue = "none")]
diff --git a/library/std/src/prelude/v1.rs b/library/std/src/prelude/v1.rs
index ef9aec54a4c..15afe19f641 100644
--- a/library/std/src/prelude/v1.rs
+++ b/library/std/src/prelude/v1.rs
@@ -1,6 +1,6 @@
 //! The first version of the prelude of The Rust Standard Library.
 //!
-//! See the [module-level documentation](../index.html) for more.
+//! See the [module-level documentation](super) for more.
 
 #![stable(feature = "rust1", since = "1.0.0")]