rust/src/libcore
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
..
fmt Register new snapshots. 2015-01-17 16:37:34 -08:00
hash std: Stabilize TypeId and tweak BoxAny 2015-01-18 18:29:22 -08:00
num Register new snapshots. 2015-01-17 16:37:34 -08:00
str Rollup merge of #21100 - tstorch:small_readability_update, r=alexcrichton 2015-01-21 02:16:48 +09:00
any.rs std: Stabilize TypeId and tweak BoxAny 2015-01-18 18:29:22 -08:00
array.rs impl Hash for arrays 2015-01-19 15:29:27 -05:00
atomic.rs Remove unnecessary explicit conversions to *const T 2015-01-17 07:34:10 +03:00
borrow.rs rollup merge of #20722: alexcrichton/audit-show 2015-01-07 17:18:59 -08:00
cell.rs Evaluate # fn in docs 2015-01-17 10:49:49 -05:00
char.rs Stabilization of impls and fallout from stabilization 2015-01-05 14:26:04 -08:00
clone.rs Improvements to feature staging 2015-01-08 03:07:23 -08:00
cmp.rs Improvements to feature staging 2015-01-08 03:07:23 -08:00
default.rs sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs 2015-01-03 22:54:18 -05:00
finally.rs Evaluate # fn in docs 2015-01-17 10:49:49 -05:00
intrinsics.rs std: Stabilize TypeId and tweak BoxAny 2015-01-18 18:29:22 -08:00
iter.rs Stabilize Index traits and most range notation 2015-01-21 07:45:45 -08:00
lib.rs Register new snapshots. 2015-01-17 16:37:34 -08:00
macros.rs Evaluate # fn in docs 2015-01-17 10:49:49 -05:00
marker.rs Beef up Copy documentation 2015-01-17 10:51:07 -05:00
mem.rs markers -> marker 2015-01-07 12:10:31 +13:00
nonzero.rs Improvements to feature staging 2015-01-08 03:07:23 -08:00
ops.rs Stabilize Index traits and most range notation 2015-01-21 07:45:45 -08:00
option.rs Remove unneeded box import in examples 2015-01-13 12:56:10 -06:00
panicking.rs Register new snapshots 2014-12-30 15:04:43 -08:00
prelude.rs Evaluate # fn in docs 2015-01-17 10:49:49 -05:00
ptr.rs Remove unnecessary explicit conversions to *const T 2015-01-17 07:34:10 +03:00
raw.rs Improvements to feature staging 2015-01-08 03:07:23 -08:00
result.rs Evaluate # fn in docs 2015-01-17 10:49:49 -05:00
simd.rs Improvements to feature staging 2015-01-08 03:07:23 -08:00
slice.rs Remove unnecessary explicit conversions to *const T 2015-01-17 07:34:10 +03:00
tuple.rs Remove erroneous stability attribute. 2015-01-14 18:58:26 -08:00
ty.rs markers -> marker 2015-01-07 12:10:31 +13:00