(mut self)
| 29 | |
| 30 | #[inline] |
| 31 | fn count(mut self) -> usize { |
| 32 | match self.peeked.take() { |
| 33 | Some(None) => 0, |
| 34 | Some(Some(_)) => 1 + self.iter.count(), |
| 35 | None => self.iter.count(), |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | #[inline] |
| 40 | fn nth(&mut self, n: usize) -> Option<I::Item> { |
no outgoing calls
no test coverage detected