rust/src/libcollections
Aaron Turon 232424d995 Stabilize std::num
This commit stabilizes the `std::num` module:

* The `Int` and `Float` traits are deprecated in favor of (1) the
  newly-added inherent methods and (2) the generic traits available in
  rust-lang/num.

* The `Zero` and `One` traits are reintroduced in `std::num`, which
  together with various other traits allow you to recover the most
  common forms of generic programming.

* The `FromStrRadix` trait, and associated free function, is deprecated
  in favor of inherent implementations.

* A wide range of methods and constants for both integers and floating
  point numbers are now `#[stable]`, having been adjusted for integer
  guidelines.

* `is_positive` and `is_negative` are renamed to `is_sign_positive` and
  `is_sign_negative`, in order to address #22985

* The `Wrapping` type is moved to `std::num` and stabilized;
  `WrappingOps` is deprecated in favor of inherent methods on the
  integer types, and direct implementation of operations on
  `Wrapping<X>` for each concrete integer type `X`.

Closes #22985
Closes #21069

[breaking-change]
2015-03-31 07:50:25 -07:00
..
btree Fold collections debug impls 2015-03-28 11:24:26 -07:00
binary_heap.rs Rollup merge of #23617 - steveklabnik:gh23564, r=Manishearth 2015-03-25 17:12:13 +05:30
bit.rs Stabilize std::num 2015-03-31 07:50:25 -07:00
borrow.rs
enum_set.rs Stabilize std::num 2015-03-31 07:50:25 -07:00
fmt.rs
lib.rs Update debug helpers and add list builder 2015-03-28 10:33:51 -07:00
linked_list.rs Auto merge of #23810 - sfackler:debug-collections, r=alexcrichton 2015-03-29 05:21:29 +00:00
macros.rs
slice.rs Stabilize std::num 2015-03-31 07:50:25 -07:00
str.rs Stabilize std::num 2015-03-31 07:50:25 -07:00
string.rs Register new snapshots 2015-03-26 09:57:05 -07:00
vec_deque.rs Stabilize std::num 2015-03-31 07:50:25 -07:00
vec_map.rs rollup merge of #23738: alexcrichton/snapshots 2015-03-27 10:08:40 -07:00
vec.rs Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30