This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 0e9c3d9
committed
Fix rust-lang#119551: Rewrite Iterator::position default impl, storing the accumulating value outside of the fold in an attempt to improve code generation
Squashed with: Add inheriting overflow checks back1 parent f688dd6 commit 0e9c3d9
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3094 | 3094 | | |
3095 | 3095 | | |
3096 | 3096 | | |
3097 | | - | |
3098 | | - | |
3099 | | - | |
| 3097 | + | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
3100 | 3101 | | |
3101 | | - | |
3102 | | - | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
3103 | 3109 | | |
3104 | 3110 | | |
3105 | 3111 | | |
3106 | | - | |
| 3112 | + | |
| 3113 | + | |
3107 | 3114 | | |
3108 | 3115 | | |
3109 | 3116 | | |
| |||
0 commit comments