(&mut self, iter: I)
| 2418 | T: Eq + Hash + Clone, |
| 2419 | { |
| 2420 | fn extend<I>(&mut self, iter: I) |
| 2421 | where |
| 2422 | I: IntoIterator<Item = T>, |
| 2423 | { |
| 2424 | for key in iter { |
| 2425 | *self.map.entry(key).or_insert(0) += 1; |
| 2426 | } |
| 2427 | } |
| 2428 | } |
| 2429 | |
| 2430 | impl<T> FromIterator<T> for ResponseCountMap<T> |
no test coverage detected