mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 12:17:27 +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).