3 use std::iter::Iterator;
5 // @has foo/struct.Odd.html
6 // @has - '//div[@id="method.new"]//span[@class="notable-traits"]//code/span' 'impl Iterator for Odd'
17 impl Iterator for Odd {
20 fn next(&mut self) -> Option<Self::Item> {
22 Some(self.current - 2)