diff options
| author | John Downey <jdowney@gmail.com> | 2019-03-06 12:17:26 -0600 |
|---|---|---|
| committer | John Downey <jdowney@gmail.com> | 2019-03-06 12:17:26 -0600 |
| commit | a35cdd4e41a2bec5d8896653f898aaff61cb0106 (patch) | |
| tree | d5e86d8d735b99b95bac9dcff987a50f6567d701 /src/test/ui/thinlto | |
| parent | f22dca0a1bef4141e75326caacc3cd59f3d5be8e (diff) | |
| download | rust-a35cdd4e41a2bec5d8896653f898aaff61cb0106.tar.gz rust-a35cdd4e41a2bec5d8896653f898aaff61cb0106.zip | |
Implement `iter::Sum` and `iter::Product` for `Option`
This is similar to the existing implementation for `Result`. It will take each item into the accumulator unless a `None` is returned.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
