(iter: I)
| 393 | |
| 394 | impl iter::Sum<ByteSize> for ByteSize { |
| 395 | fn sum<I>(iter: I) -> Self |
| 396 | where |
| 397 | I: Iterator<Item = ByteSize>, |
| 398 | { |
| 399 | iter.fold(Self::default(), ops::Add::add) |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | impl<'a> iter::Sum<&'a ByteSize> for ByteSize { |
no outgoing calls
no test coverage detected