about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorJohn Downey <jdowney@gmail.com>2019-03-06 12:17:26 -0600
committerJohn Downey <jdowney@gmail.com>2019-03-06 12:17:26 -0600
commita35cdd4e41a2bec5d8896653f898aaff61cb0106 (patch)
treed5e86d8d735b99b95bac9dcff987a50f6567d701 /src/test/ui/thinlto
parentf22dca0a1bef4141e75326caacc3cd59f3d5be8e (diff)
downloadrust-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