diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-21 00:04:21 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-21 09:27:35 -0800 |
| commit | f6a7388210e40741e9e5d50ef376ceba3cb34e61 (patch) | |
| tree | 08c377d949e17c0fe0e0c1b23dd35a476eadde2e /src/libstd/num | |
| parent | e1d09766add86bcc32ebe02151273ccc4f699d10 (diff) | |
| parent | 89f75a6e810e8994143f44e2239f58ffa132ad86 (diff) | |
| download | rust-f6a7388210e40741e9e5d50ef376ceba3cb34e61.tar.gz rust-f6a7388210e40741e9e5d50ef376ceba3cb34e61.zip | |
rollup merge of #20062: aturon/stab-2-ints
This small patch stabilizes the names of all integer modules (including `int` and `uint`) and the `MIN` and `MAX` constants. The `BITS` and `BYTES` constants are left unstable for now. r? @alexcrichton
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/int.rs | 2 | ||||
| -rw-r--r-- | src/libstd/num/uint.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/num/int.rs b/src/libstd/num/int.rs index f59dab4b20b..9ccb1544fdc 100644 --- a/src/libstd/num/int.rs +++ b/src/libstd/num/int.rs @@ -10,7 +10,7 @@ //! Operations and constants for architecture-sized signed integers (`int` type) -#![unstable] +#![stable] #![doc(primitive = "int")] pub use core::int::{BITS, BYTES, MIN, MAX}; diff --git a/src/libstd/num/uint.rs b/src/libstd/num/uint.rs index 7f8edee571f..cd000b3098b 100644 --- a/src/libstd/num/uint.rs +++ b/src/libstd/num/uint.rs @@ -10,7 +10,7 @@ //! Operations and constants for architecture-sized unsigned integers (`uint` type) -#![unstable] +#![stable] #![doc(primitive = "uint")] pub use core::uint::{BITS, BYTES, MIN, MAX}; |
