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")]