about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-03-01 13:39:41 -0500
committerSteve Klabnik <steve@steveklabnik.com>2016-03-01 13:39:41 -0500
commit5b91fc02f05420d62257be6e6616258f37609616 (patch)
tree85e5defb5dbfea973bccb61e17093ab286d07e7c
parentf25f0e8de91436fbf2630150d17569525e09bab6 (diff)
parentdc97f84be448bd388a2d4a13f7ed88c5f90b09c8 (diff)
downloadrust-5b91fc02f05420d62257be6e6616258f37609616.tar.gz
rust-5b91fc02f05420d62257be6e6616258f37609616.zip
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
-rw-r--r--src/libcore/array.rs2
-rw-r--r--src/libcore/num/i16.rs2
-rw-r--r--src/libcore/num/i32.rs2
-rw-r--r--src/libcore/num/i64.rs2
-rw-r--r--src/libcore/num/i8.rs2
-rw-r--r--src/libcore/num/isize.rs2
-rw-r--r--src/libcore/num/u16.rs2
-rw-r--r--src/libcore/num/u32.rs2
-rw-r--r--src/libcore/num/u64.rs2
-rw-r--r--src/libcore/num/u8.rs2
-rw-r--r--src/libcore/num/usize.rs2
-rw-r--r--src/libcore/ptr.rs2
12 files changed, 12 insertions, 12 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs
index 0c5eada2165..45fc5ff8009 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 40544979417..1dd820980f4 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 5d2ade8d8e0..8a2168933dc 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 b1d43a3b838..2ce9eb11936 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 ee003d92b28..8b5a7f1910e 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 034a5c0eb89..de5b1777f93 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 d7e320267c6..d34d87caa55 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 9a26a39d5b3..f9c9099e47f 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 e12c2c26542..8dfe4335a3d 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 0eb63bd9f3a..0106ee8e401 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 875ab32fa8c..0c7d16a41bc 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 cb109c010c7..3cf722668b2 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")]