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.
This commit is contained in:
parent
47ea0cfb6b
commit
8cb4d8671a
26 changed files with 84 additions and 312 deletions
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue