// check-pass fn main() {} fn nth(iter: &mut I, step: usize) -> impl FnMut() -> Option + '_ { move || iter.nth(step) }