I'm iterating over ranges (yes, you can guess i'm doing AOC2022 Day4) and while I completed it fine, it'd be nice to figure out if I could have avoided some silly things.
I expected (and maybe just missed?) some form of .iter() on a range. I only found step_by(usize) which is fine, but takes self (i expected &self). Am I missing something obvious? I specifically wanted an iter() to use any(FnMut).