mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
80ed61fbd6
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).