Skip to content

Commit 5b91fc0

Browse files
committed
Rollup merge of #31965 - miqid:doc, r=steveklabnik
Hello. Quite a few of the links in the `core` module concerning redirection to additional primitive type documentation are broken. I noticed in #30214 that there seemed to be a consensus with linking across to `std` module documentation from the `core` module. This is what I've done with the `core` modules for primitive types. If the changes here are good to go forward with, I'll happily tend to adding more documentation links for the extension traits in the aforementioned issue if need be. r? @steveklabnik
2 parents f25f0e8 + dc97f84 commit 5b91fc0

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

src/libcore/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//! up to a certain length. Eventually we should able to generalize
1313
//! to all lengths.
1414
//!
15-
//! *[See also the array primitive type](../primitive.array.html).*
15+
//! *[See also the array primitive type](../../std/primitive.array.html).*
1616
1717
#![unstable(feature = "fixed_size_array",
1818
reason = "traits and impls are better expressed through generic \

src/libcore/num/i16.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 16-bit signed integer type.
1212
//!
13-
//! *[See also the `i16` primitive type](../primitive.i16.html).*
13+
//! *[See also the `i16` primitive type](../../std/primitive.i16.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/i32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 32-bit signed integer type.
1212
//!
13-
//! *[See also the `i32` primitive type](../primitive.i32.html).*
13+
//! *[See also the `i32` primitive type](../../std/primitive.i32.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/i64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 64-bit signed integer type.
1212
//!
13-
//! *[See also the `i64` primitive type](../primitive.i64.html).*
13+
//! *[See also the `i64` primitive type](../../std/primitive.i64.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/i8.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 8-bit signed integer type.
1212
//!
13-
//! *[See also the `i8` primitive type](../primitive.i8.html).*
13+
//! *[See also the `i8` primitive type](../../std/primitive.i8.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/isize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The pointer-sized signed integer type.
1212
//!
13-
//! *[See also the `isize` primitive type](../primitive.isize.html).*
13+
//! *[See also the `isize` primitive type](../../std/primitive.isize.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/u16.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 16-bit unsigned integer type.
1212
//!
13-
//! *[See also the `u16` primitive type](../primitive.u16.html).*
13+
//! *[See also the `u16` primitive type](../../std/primitive.u16.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/u32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 32-bit unsigned integer type.
1212
//!
13-
//! *[See also the `u32` primitive type](../primitive.u32.html).*
13+
//! *[See also the `u32` primitive type](../../std/primitive.u32.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/u64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 64-bit unsigned integer type.
1212
//!
13-
//! *[See also the `u64` primitive type](../primitive.u64.html).*
13+
//! *[See also the `u64` primitive type](../../std/primitive.u64.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/u8.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The 8-bit unsigned integer type.
1212
//!
13-
//! *[See also the `u8` primitive type](../primitive.u8.html).*
13+
//! *[See also the `u8` primitive type](../../std/primitive.u8.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/num/usize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
//! The pointer-sized unsigned integer type.
1212
//!
13-
//! *[See also the `usize` primitive type](../primitive.usize.html).*
13+
//! *[See also the `usize` primitive type](../../std/primitive.usize.html).*
1414
1515
#![stable(feature = "rust1", since = "1.0.0")]
1616

src/libcore/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
//! Raw, unsafe pointers, `*const T`, and `*mut T`
1414
//!
15-
//! *[See also the pointer primitive types](../primitive.pointer.html).*
15+
//! *[See also the pointer primitive types](../../std/primitive.pointer.html).*
1616
1717
#![stable(feature = "rust1", since = "1.0.0")]
1818

0 commit comments

Comments
 (0)