* implement Sum for Amount * check overflows * add a `zero()` method to `Amount` * impl iter::Sum<&Amount<C>> for Result<Amount<C>> And modify the tests so they test both reference and value based sums. * use `try_fold()` * change error doc * use iter::repeat() * fix test Co-authored-by: teor <teor@riseup.net> |
||
|---|---|---|
| .. | ||
| benches | ||
| proptest-regressions | ||
| src | ||
| Cargo.toml | ||