rust/src/libcollections
Aaron Turon fba0bf63a9 Stabilize Index traits and most range notation
This commit marks as `#[stable]`:

* The `Index` and `IndexMut` traits. These are stabilized as taking the
  index itself *by reference*; after extensive discussion it was
  determined that this is a better match with our choices
  elsewhere (e.g. making comparison operators auto-reference), and that
  the use cases for by-value indices are better handled through
  `IndexSet`.

* The `Range`, `RangeFrom` and `RangeTo` structs, introduced for range
  notation.

* Various impls of `Index` and `IndexMut`.

The `FullRange` struct is left unstable as we may wish to rename it to
`RangeFull` in the future.

This commit also *removes* the `Step` trait in favor of direct
implementation of iterator traits on ranges for integers. The `Step`
trait was not a terribly useful factoring internally, and it is likely
that external integer types are best off implementing range iterators
directly. It was removed to simplify the API surface. We can always
reintroduce `Step` later if it turns out to be useful.

Due to this removal, this is a:

[breaking-change]
2015-01-21 07:45:45 -08:00
..
btree Rollup merge of #21375 - petrochenkov:ssbsl, r=alexcrichton 2015-01-21 02:16:50 +09:00
bench.rs [breaking change] Update entry API as part of RFC 509. 2015-01-04 15:55:54 -05:00
binary_heap.rs Revert "Remove i suffix in docs" 2015-01-05 19:08:37 -08:00
bit.rs Revert stability for Bitv and BitvSet 2015-01-17 10:49:49 -05:00
dlist.rs Add examples for DList methods. 2015-01-14 09:17:12 -05:00
enum_set.rs core: split into fmt::Show and fmt::String 2015-01-06 14:49:42 -08:00
lib.rs Rollup merge of #20998 - estsauver:20984, r=steveklabnik 2015-01-21 02:16:45 +09:00
macros.rs Enabled the vec![] macro to use the [a; b] repeat syntax. 2015-01-08 21:53:04 +01:00
ring_buf.rs Remove unnecessary explicit conversions to *const T 2015-01-17 07:34:10 +03:00
slice.rs Remove unnecessary explicit conversions to *const T 2015-01-17 07:34:10 +03:00
str.rs rollup merge of #20463: amaranth/black_box_output 2015-01-15 14:11:27 -08:00
string.rs Register new snapshots. 2015-01-17 16:37:34 -08:00
vec.rs Stabilize Index traits and most range notation 2015-01-21 07:45:45 -08:00
vec_map.rs Add test for #21328 2015-01-19 17:29:48 +01:00