diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-17 13:23:36 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-17 14:03:32 -0700 |
| commit | 8cb4d8671afecdcfd2432e08c8f43673ce51f67d (patch) | |
| tree | c42f8eb09400c6b9d5004d22155299eb0be03410 /src/libcore/num | |
| parent | 47ea0cfb6bd250c970e3a61d62bfa1b1c7bb27d4 (diff) | |
| download | rust-8cb4d8671afecdcfd2432e08c8f43673ce51f67d.tar.gz rust-8cb4d8671afecdcfd2432e08c8f43673ce51f67d.zip | |
std: Clean up primitive integer modules
All of the modules in the standard library were just straight reexports of those in libcore, so remove all the "macro modules" from the standard library and just reexport what's in core directly.
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/i16.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/i32.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/i64.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/i8.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/isize.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/u16.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/u32.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/u64.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/u8.rs | 4 | ||||
| -rw-r--r-- | src/libcore/num/usize.rs | 4 |
10 files changed, 30 insertions, 10 deletions
diff --git a/src/libcore/num/i16.rs b/src/libcore/num/i16.rs index dacb4ebcdfa..40544979417 100644 --- a/src/libcore/num/i16.rs +++ b/src/libcore/num/i16.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for signed 16-bits integers (`i16` type) +//! The 16-bit signed integer type. +//! +//! *[See also the `i16` primitive type](../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 250d66de70b..5d2ade8d8e0 100644 --- a/src/libcore/num/i32.rs +++ b/src/libcore/num/i32.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for signed 32-bits integers (`i32` type) +//! The 32-bit signed integer type. +//! +//! *[See also the `i32` primitive type](../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 5ed21d7246c..b1d43a3b838 100644 --- a/src/libcore/num/i64.rs +++ b/src/libcore/num/i64.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for signed 64-bits integers (`i64` type) +//! The 64-bit signed integer type. +//! +//! *[See also the `i64` primitive type](../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 0394c12d5c4..ee003d92b28 100644 --- a/src/libcore/num/i8.rs +++ b/src/libcore/num/i8.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for signed 8-bits integers (`i8` type) +//! The 8-bit signed integer type. +//! +//! *[See also the `i8` primitive type](../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 066cb10cce2..034a5c0eb89 100644 --- a/src/libcore/num/isize.rs +++ b/src/libcore/num/isize.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for pointer-sized signed integers (`isize` type) +//! The pointer-sized signed integer type. +//! +//! *[See also the `isize` primitive type](../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 ecf79944848..68e50e8a400 100644 --- a/src/libcore/num/u16.rs +++ b/src/libcore/num/u16.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for unsigned 16-bits integers (`u16` type) +//! The 16-bit unsigned integer type. +//! +//! *[See also the `u16` primitive type](../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 b0682b55ac0..c1ee96b363c 100644 --- a/src/libcore/num/u32.rs +++ b/src/libcore/num/u32.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for unsigned 32-bits integers (`u32` type) +//! The 32-bit unsigned integer type. +//! +//! *[See also the `u32` primitive type](../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 dbc6a64a905..c0d18d850a7 100644 --- a/src/libcore/num/u64.rs +++ b/src/libcore/num/u64.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for unsigned 64-bits integer (`u64` type) +//! The 64-bit unsigned integer type. +//! +//! *[See also the `u64` primitive type](../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 bf9347ca62c..a60c480d810 100644 --- a/src/libcore/num/u8.rs +++ b/src/libcore/num/u8.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for unsigned 8-bits integers (`u8` type) +//! The 8-bit unsigned integer type. +//! +//! *[See also the `u8` primitive type](../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 67e3c954ab6..70e790106e1 100644 --- a/src/libcore/num/usize.rs +++ b/src/libcore/num/usize.rs @@ -8,7 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! Operations and constants for pointer-sized unsigned integers (`usize` type) +//! The pointer-sized unsigned integer type. +//! +//! *[See also the `usize` primitive type](../primitive.usize.html).* #![stable(feature = "rust1", since = "1.0.0")] |
