about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-16 01:56:16 -0700
committerbors <bors@rust-lang.org>2013-08-16 01:56:16 -0700
commit72b50e729d9662ed22f87aa1fcb97a309afbc0fa (patch)
treec47e2e3115f2e08a621b0825533e457e3a9f6a68 /src/rt/rust_stack.cpp
parent92af0db0a3919f5371de362cb6060ff87190aafe (diff)
parent88c149195af66c95d94db30bc55de6204ad82f8f (diff)
downloadrust-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