about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-10 23:25:31 +0000
committerbors <bors@rust-lang.org>2017-01-10 23:25:31 +0000
commit0500fbf6ba83b9a6634a5e0580963b44683b44c6 (patch)
tree4a710492a371d35aa8e926f87386f9ea861a06f3 /src/rustllvm/RustWrapper.cpp
parentd6b927dd91a7f9d32a537f1b4493dfdb3e628823 (diff)
parent23715d344de0377624be95b48830582594aed7ff (diff)
downloadrust-0500fbf6ba83b9a6634a5e0580963b44683b44c6.tar.gz
rust-0500fbf6ba83b9a6634a5e0580963b44683b44c6.zip
Auto merge of #38580 - shepmaster:result-sum, r=alexcrichton
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