about summary refs log tree commit diff
path: root/src/libstd/sys/common/backtrace.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-01-15 20:00:09 -0800
committerAaron Turon <aturon@mozilla.com>2015-01-21 07:45:45 -0800
commitfba0bf63a90379e8825012a817167774e14a627f (patch)
treedaf820961ab234dc6bf343dc171649f9741dfa3b /src/libstd/sys/common/backtrace.rs
parent6869645e86c91544b8737b89809bdf10bef536d9 (diff)
downloadrust-fba0bf63a90379e8825012a817167774e14a627f.tar.gz
rust-fba0bf63a90379e8825012a817167774e14a627f.zip
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]
Diffstat (limited to 'src/libstd/sys/common/backtrace.rs')
0 files changed, 0 insertions, 0 deletions