about summary refs log tree commit diff
path: root/src/libcore/num/i16.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-11-15 22:03:34 -0800
committerAaron Turon <aturon@mozilla.com>2014-11-18 20:07:58 -0800
commitbdbc09ad484847378b87ee8d60096cd39d8fb47a (patch)
treeb56e9cd604bd377d24ac9ec3c307359f8b987ce0 /src/libcore/num/i16.rs
parente09d98603e608c9e47d4c89f7b4dca87a4b56da3 (diff)
downloadrust-bdbc09ad484847378b87ee8d60096cd39d8fb47a.tar.gz
rust-bdbc09ad484847378b87ee8d60096cd39d8fb47a.zip
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]
Diffstat (limited to 'src/libcore/num/i16.rs')
-rw-r--r--src/libcore/num/i16.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/num/i16.rs b/src/libcore/num/i16.rs
index 39e5c99b97b..00c8dc5b68d 100644
--- a/src/libcore/num/i16.rs
+++ b/src/libcore/num/i16.rs
@@ -10,8 +10,7 @@
 
 //! Operations and constants for signed 16-bits integers (`i16` type)
 
-#![unstable]
+#![stable]
 #![doc(primitive = "i16")]
 
 int_module!(i16, 16)
-