diff options
| author | bors <bors@rust-lang.org> | 2013-08-16 01:56:16 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-16 01:56:16 -0700 |
| commit | 72b50e729d9662ed22f87aa1fcb97a309afbc0fa (patch) | |
| tree | c47e2e3115f2e08a621b0825533e457e3a9f6a68 /src/rt/rust_stack.cpp | |
| parent | 92af0db0a3919f5371de362cb6060ff87190aafe (diff) | |
| parent | 88c149195af66c95d94db30bc55de6204ad82f8f (diff) | |
| download | rust-72b50e729d9662ed22f87aa1fcb97a309afbc0fa.tar.gz rust-72b50e729d9662ed22f87aa1fcb97a309afbc0fa.zip | |
auto merge of #8526 : blake2-ppc/rust/either-result, r=catamorphism
Retry of PR #8471
Replace the remaining functions marked for issue #8228 with similar functions that are iterator-based.
Change `either::{lefts, rights}` to be iterator-filtering instead of returning a vector.
Replace `map_vec`, `map_vec2`, `iter_vec2` in std::result with three functions:
* `result::collect` gathers `Iterator<Result<V, U>>` to `Result<~[V], U>`
* `result::fold` folds `Iterator<Result<T, E>>` to `Result<V, E>`
* `result::fold_` folds `Iterator<Result<T, E>>` to `Result<(), E>`
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
