about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2016-12-23 14:30:37 -0500
committerJake Goulding <jake.goulding@gmail.com>2017-01-10 14:24:06 -0500
commit23715d344de0377624be95b48830582594aed7ff (patch)
tree10183eb1541579d01e77a229c9ed564e036b9fb9 /src/rustllvm/RustWrapper.cpp
parent7bffede97cf58f7159e261eac592f9cf88ce209d (diff)
downloadrust-23715d344de0377624be95b48830582594aed7ff.tar.gz
rust-23715d344de0377624be95b48830582594aed7ff.zip
Implement `iter::Sum` and `iter::Product` for `Result`
This introduces a private iterator adapter `ResultShunt`, which allows
treating an iterator of `Result<T, E>` as an iterator of `T`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions