about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-21 00:04:01 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-21 09:26:42 -0800
commite8722691abbe521fd6ba7b558dec7273ca7cec6d (patch)
treecc4d16868235175cb416199242d6dda0795a63ea /src/rustllvm/ExecutionEngineWrapper.cpp
parent5acb622f5bd039d75f125d0b1d3929bda522f4c6 (diff)
parenta71686f4ea1a265f15adfbe850305f65453ef550 (diff)
downloadrust-e8722691abbe521fd6ba7b558dec7273ca7cec6d.tar.gz
rust-e8722691abbe521fd6ba7b558dec7273ca7cec6d.zip
rollup merge of #19961: alexcrichton/second-pass-result
This commit, like the second pass of `Option`, largely just stablizes the
existing functionality after renaming a few iterators.

The specific actions taken were:

* The `Ok` and `Err` variants were marked `#[stable]` as the stability
  inheritance was since removed.
* The `as_mut` method is now stable.
* The `map` method is now stable
* The `map_err` method is now stable
* The `iter`, `iter_mut`, and `into_iter` methods now returned structures named
  after the method of iteration. The methods are also now all stable.
* The `and_then` method is now stable.
* The `or_else` method is now stable.
* The `unwrap` family of functions are now all stable: `unwrap_or`,
  `unwrap_or_else`, `unwrap`, and `unwrap_err`.

There is a possible open extension to `Result::{and, and_then}` to make the
return type further generic over `FromError` (as proposed in #19078), but this
is a backwards compatible change due to the usage of default type parameters,
which makes the two functions safe to stabilize now regardless of the outcome of
that issue.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions