Skip to content

Commit 76fd8d7

Browse files
m-ou-seJoshua Nelson
and
Joshua Nelson
committed
Use intra-doc links.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent d274d87 commit 76fd8d7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

library/core/src/prelude/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub mod v1;
1010

1111
/// The 2015 version of the core prelude.
1212
///
13-
/// See the [module-level documentation](../index.html) for more.
13+
/// See the [module-level documentation](self) for more.
1414
#[unstable(feature = "prelude_2015", issue = "none")]
1515
pub mod rust_2015 {
1616
#[unstable(feature = "prelude_2015", issue = "none")]
@@ -20,7 +20,7 @@ pub mod rust_2015 {
2020

2121
/// The 2018 version of the core prelude.
2222
///
23-
/// See the [module-level documentation](../index.html) for more.
23+
/// See the [module-level documentation](self) for more.
2424
#[unstable(feature = "prelude_2018", issue = "none")]
2525
pub mod rust_2018 {
2626
#[unstable(feature = "prelude_2018", issue = "none")]
@@ -30,7 +30,7 @@ pub mod rust_2018 {
3030

3131
/// The 2021 version of the core prelude.
3232
///
33-
/// See the [module-level documentation](../index.html) for more.
33+
/// See the [module-level documentation](self) for more.
3434
#[unstable(feature = "prelude_2021", issue = "none")]
3535
pub mod rust_2021 {
3636
#[unstable(feature = "prelude_2021", issue = "none")]

library/core/src/prelude/v1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! The first version of the core prelude.
22
//!
3-
//! See the [module-level documentation](../index.html) for more.
3+
//! See the [module-level documentation](super) for more.
44
55
#![stable(feature = "core_prelude", since = "1.4.0")]
66

library/std/src/prelude/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pub mod v1;
8787

8888
/// The 2015 version of the prelude of The Rust Standard Library.
8989
///
90-
/// See the [module-level documentation](../index.html) for more.
90+
/// See the [module-level documentation](self) for more.
9191
#[unstable(feature = "prelude_2015", issue = "none")]
9292
pub mod rust_2015 {
9393
#[unstable(feature = "prelude_2015", issue = "none")]
@@ -97,7 +97,7 @@ pub mod rust_2015 {
9797

9898
/// The 2018 version of the prelude of The Rust Standard Library.
9999
///
100-
/// See the [module-level documentation](../index.html) for more.
100+
/// See the [module-level documentation](self) for more.
101101
#[unstable(feature = "prelude_2018", issue = "none")]
102102
pub mod rust_2018 {
103103
#[unstable(feature = "prelude_2018", issue = "none")]
@@ -107,7 +107,7 @@ pub mod rust_2018 {
107107

108108
/// The 2021 version of the prelude of The Rust Standard Library.
109109
///
110-
/// See the [module-level documentation](../index.html) for more.
110+
/// See the [module-level documentation](self) for more.
111111
#[unstable(feature = "prelude_2021", issue = "none")]
112112
pub mod rust_2021 {
113113
#[unstable(feature = "prelude_2021", issue = "none")]

library/std/src/prelude/v1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! The first version of the prelude of The Rust Standard Library.
22
//!
3-
//! See the [module-level documentation](../index.html) for more.
3+
//! See the [module-level documentation](super) for more.
44
55
#![stable(feature = "rust1", since = "1.0.0")]
66

0 commit comments

Comments
 (0)