about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-17 08:34:14 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-17 11:50:26 -0800
commit137a3dbffd5454874bf001e213f695644b78523a (patch)
tree371d647c5b8a6ddbcc7d6a1a4cef9b6a60f46bc6 /src/rustllvm/RustWrapper.cpp
parentdea69e66b8a22a65949797351e8853c2cddc975c (diff)
parent1fbca8824a6b6018191b7ee998d2c97f30c481d7 (diff)
downloadrust-137a3dbffd5454874bf001e213f695644b78523a.tar.gz
rust-137a3dbffd5454874bf001e213f695644b78523a.zip
rollup merge of #19849: alexcrichton/second-pass-option
This commit takes a second pass through the `std::option` module to fully
stabilize any lingering methods inside of it.

These items were made stable as-is

* Some
* None
* as_mut
* expect
* unwrap
* unwrap_or
* unwrap_or_else
* map
* map_or
* map_or_else
* and_then
* or_else
* unwrap_or_default
* Default implementation
* FromIterator implementation
* Copy implementation

These items were made stable with modifications

* iter - now returns a struct called Iter
* iter_mut - now returns a struct called IterMut
* into_iter - now returns a struct called IntoIter, Clone is never implemented

This is a breaking change due to the modifications to the names of the iterator
types returned. Code referencing the old names should updated to referencing the
newer names instead. This is also a breaking change due to the fact that
`IntoIter` no longer implements the `Clone` trait.

These items were explicitly not stabilized

* as_slice - waiting on indexing conventions
* as_mut_slice - waiting on conventions with as_slice as well
* cloned - the API was still just recently added
* ok_or - API remains experimental
* ok_or_else - API remains experimental

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions