mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

fix(iter::skip): Optimize `next` and `nth` implementations of `Skip` This avoids calling nth/next or nth/nth to first skip elements and then get the next one (unless necessary due to usize overflow).