• T
    Make `sum` and `product` inherent methods on `Iterator` · 97f24a85
    Tobias Bucher 提交于
    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]
    97f24a85
iter.rs 86.9 KB