Skip to content

Commit

Permalink
Use intra-doc links.
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <[email protected]>
  • Loading branch information
m-ou-se and Joshua Nelson committed Feb 25, 2021
1 parent d274d87 commit 76fd8d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions library/core/src/prelude/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand All @@ -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")]
Expand All @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion library/core/src/prelude/v1.rs
Original file line number Diff line number Diff line change
@@ -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")]

Expand Down
6 changes: 3 additions & 3 deletions library/std/src/prelude/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand All @@ -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")]
Expand All @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/prelude/v1.rs
Original file line number Diff line number Diff line change
@@ -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")]

Expand Down

0 comments on commit 76fd8d7

Please sign in to comment.