mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-06 13:56:00 +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).