From dc97f84be448bd388a2d4a13f7ed88c5f90b09c8 Mon Sep 17 00:00:00 2001 From: Michael Huynh Date: Tue, 1 Mar 2016 20:44:48 +0800 Subject: [PATCH] Fix broken links for core primitives Redirects existing links for more details on primitive types in the `core` module to the ones that exist in the `std` module. --- src/libcore/array.rs | 2 +- src/libcore/num/i16.rs | 2 +- src/libcore/num/i32.rs | 2 +- src/libcore/num/i64.rs | 2 +- src/libcore/num/i8.rs | 2 +- src/libcore/num/isize.rs | 2 +- src/libcore/num/u16.rs | 2 +- src/libcore/num/u32.rs | 2 +- src/libcore/num/u64.rs | 2 +- src/libcore/num/u8.rs | 2 +- src/libcore/num/usize.rs | 2 +- src/libcore/ptr.rs | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 0c5eada21655c..45fc5ff80093a 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -12,7 +12,7 @@ //! up to a certain length. Eventually we should able to generalize //! to all lengths. //! -//! *[See also the array primitive type](../primitive.array.html).* +//! *[See also the array primitive type](../../std/primitive.array.html).* #![unstable(feature = "fixed_size_array", reason = "traits and impls are better expressed through generic \ diff --git a/src/libcore/num/i16.rs b/src/libcore/num/i16.rs index 4054497941797..1dd820980f496 100644 --- a/src/libcore/num/i16.rs +++ b/src/libcore/num/i16.rs @@ -10,7 +10,7 @@ //! The 16-bit signed integer type. //! -//! *[See also the `i16` primitive type](../primitive.i16.html).* +//! *[See also the `i16` primitive type](../../std/primitive.i16.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/i32.rs b/src/libcore/num/i32.rs index 5d2ade8d8e0e9..8a2168933dc66 100644 --- a/src/libcore/num/i32.rs +++ b/src/libcore/num/i32.rs @@ -10,7 +10,7 @@ //! The 32-bit signed integer type. //! -//! *[See also the `i32` primitive type](../primitive.i32.html).* +//! *[See also the `i32` primitive type](../../std/primitive.i32.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/i64.rs b/src/libcore/num/i64.rs index b1d43a3b83872..2ce9eb11936bc 100644 --- a/src/libcore/num/i64.rs +++ b/src/libcore/num/i64.rs @@ -10,7 +10,7 @@ //! The 64-bit signed integer type. //! -//! *[See also the `i64` primitive type](../primitive.i64.html).* +//! *[See also the `i64` primitive type](../../std/primitive.i64.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/i8.rs b/src/libcore/num/i8.rs index ee003d92b2823..8b5a7f1910e20 100644 --- a/src/libcore/num/i8.rs +++ b/src/libcore/num/i8.rs @@ -10,7 +10,7 @@ //! The 8-bit signed integer type. //! -//! *[See also the `i8` primitive type](../primitive.i8.html).* +//! *[See also the `i8` primitive type](../../std/primitive.i8.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/isize.rs b/src/libcore/num/isize.rs index 034a5c0eb89d4..de5b1777f936f 100644 --- a/src/libcore/num/isize.rs +++ b/src/libcore/num/isize.rs @@ -10,7 +10,7 @@ //! The pointer-sized signed integer type. //! -//! *[See also the `isize` primitive type](../primitive.isize.html).* +//! *[See also the `isize` primitive type](../../std/primitive.isize.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/u16.rs b/src/libcore/num/u16.rs index d7e320267c607..d34d87caa55fa 100644 --- a/src/libcore/num/u16.rs +++ b/src/libcore/num/u16.rs @@ -10,7 +10,7 @@ //! The 16-bit unsigned integer type. //! -//! *[See also the `u16` primitive type](../primitive.u16.html).* +//! *[See also the `u16` primitive type](../../std/primitive.u16.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/u32.rs b/src/libcore/num/u32.rs index 9a26a39d5b365..f9c9099e47f18 100644 --- a/src/libcore/num/u32.rs +++ b/src/libcore/num/u32.rs @@ -10,7 +10,7 @@ //! The 32-bit unsigned integer type. //! -//! *[See also the `u32` primitive type](../primitive.u32.html).* +//! *[See also the `u32` primitive type](../../std/primitive.u32.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/u64.rs b/src/libcore/num/u64.rs index e12c2c265420b..8dfe4335a3d72 100644 --- a/src/libcore/num/u64.rs +++ b/src/libcore/num/u64.rs @@ -10,7 +10,7 @@ //! The 64-bit unsigned integer type. //! -//! *[See also the `u64` primitive type](../primitive.u64.html).* +//! *[See also the `u64` primitive type](../../std/primitive.u64.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/u8.rs b/src/libcore/num/u8.rs index 0eb63bd9f3a9d..0106ee8e401c9 100644 --- a/src/libcore/num/u8.rs +++ b/src/libcore/num/u8.rs @@ -10,7 +10,7 @@ //! The 8-bit unsigned integer type. //! -//! *[See also the `u8` primitive type](../primitive.u8.html).* +//! *[See also the `u8` primitive type](../../std/primitive.u8.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/num/usize.rs b/src/libcore/num/usize.rs index 875ab32fa8c57..0c7d16a41bc7e 100644 --- a/src/libcore/num/usize.rs +++ b/src/libcore/num/usize.rs @@ -10,7 +10,7 @@ //! The pointer-sized unsigned integer type. //! -//! *[See also the `usize` primitive type](../primitive.usize.html).* +//! *[See also the `usize` primitive type](../../std/primitive.usize.html).* #![stable(feature = "rust1", since = "1.0.0")] diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index f871857dab632..f9f5cbf1078c1 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -12,7 +12,7 @@ //! Raw, unsafe pointers, `*const T`, and `*mut T` //! -//! *[See also the pointer primitive types](../primitive.pointer.html).* +//! *[See also the pointer primitive types](../../std/primitive.pointer.html).* #![stable(feature = "rust1", since = "1.0.0")]