3 use std::iter::Iterator;
5 // @has foo/struct.Odd.html
6 // @has - '//*[@id="method.new"]//a[@class="notable-traits"]/@data-ty' 'Odd'
7 // @snapshot odd - '//script[@id="notable-traits-data"]'
18 impl Iterator for Odd {
21 fn next(&mut self) -> Option<Self::Item> {
23 Some(self.current - 2)