]> git.lizzy.rs Git - rust.git/commit
libs: stabilize most numerics after RFC changes
authorAaron Turon <aturon@mozilla.com>
Sun, 16 Nov 2014 06:03:34 +0000 (22:03 -0800)
committerAaron Turon <aturon@mozilla.com>
Wed, 19 Nov 2014 04:07:58 +0000 (20:07 -0800)
commitbdbc09ad484847378b87ee8d60096cd39d8fb47a
treeb56e9cd604bd377d24ac9ec3c307359f8b987ce0
parente09d98603e608c9e47d4c89f7b4dca87a4b56da3
libs: stabilize most numerics after RFC changes

This commit adds stability markers for the APIs that have recently been
aligned with [numerics
reform](https://github.com/rust-lang/rfcs/pull/369). For APIs that were
changed as part of that reform, `#[unstable]` is used to reflect the
recency, but the APIs will become `#[stable]` in a follow-up pass.

In addition, a few aspects of the APIs not explicitly covered by the RFC
are marked here -- in particular, constants for floats.

This commit does not mark the `uint` or `int` modules as `#[stable]`,
given the ongoing debate out the names and roles of these types.

Due to some deprecation (see the RFC for details), this is a:

[breaking-change]
22 files changed:
src/libcore/num/f32.rs
src/libcore/num/f64.rs
src/libcore/num/i16.rs
src/libcore/num/i32.rs
src/libcore/num/i64.rs
src/libcore/num/i8.rs
src/libcore/num/mod.rs
src/libcore/num/u16.rs
src/libcore/num/u32.rs
src/libcore/num/u64.rs
src/libcore/num/u8.rs
src/libstd/num/f32.rs
src/libstd/num/f64.rs
src/libstd/num/i16.rs
src/libstd/num/i32.rs
src/libstd/num/i64.rs
src/libstd/num/i8.rs
src/libstd/num/mod.rs
src/libstd/num/u16.rs
src/libstd/num/u32.rs
src/libstd/num/u64.rs
src/libstd/num/u8.rs