diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-04-06 17:43:50 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-04-08 00:26:35 +0200 |
| commit | 97f24a85965c3c51a2c18be029091ae52bbd7920 (patch) | |
| tree | 8e601d4b36ac0e3d1320482b959d42af6f8cb891 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 88427605bbd3271d52d064f339e344da2892b9cb (diff) | |
| download | rust-97f24a85965c3c51a2c18be029091ae52bbd7920.tar.gz rust-97f24a85965c3c51a2c18be029091ae52bbd7920.zip | |
Make `sum` and `product` inherent methods on `Iterator`
In addition to being nicer, this also allows you to use `sum` and `product` for iterators yielding custom types aside from the standard integers. Due to removing the `AdditiveIterator` and `MultiplicativeIterator` trait, this is a breaking change. [breaking-change]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
