diff options
| author | bors <bors@rust-lang.org> | 2022-08-15 03:09:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-15 03:09:20 +0000 |
| commit | 80ed61fbd64936ed676c2050e7e660b5ad78c9f2 (patch) | |
| tree | 5d633ac89d5a5ede1545bb4d7689e6dc4883ceb5 /compiler/rustc_errors/src | |
| parent | 76c427d6e20c2942716de9932be4215771aeb4b1 (diff) | |
| parent | 00bc9e8ac4cc6fba98eef558554e7fcd747e49c1 (diff) | |
| download | rust-80ed61fbd64936ed676c2050e7e660b5ad78c9f2.tar.gz rust-80ed61fbd64936ed676c2050e7e660b5ad78c9f2.zip | |
Auto merge of #96350 - austinabell:skip_optimization, r=Mark-Simulacrum
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).
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions
