This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 60651fe
authored
Unrolled build for rust-lang#120505
Rollup merge of rust-lang#120505 - Amanieu:fix-btreemap-cursor-remove, r=m-ou-se
Fix BTreeMap's Cursor::remove_{next,prev}
These would incorrectly leave `current` as `None` after a failed attempt to remove an element (due to the cursor already being at the start/end).1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3247 | 3247 | | |
3248 | 3248 | | |
3249 | 3249 | | |
| 3250 | + | |
| 3251 | + | |
| 3252 | + | |
| 3253 | + | |
3250 | 3254 | | |
3251 | 3255 | | |
3252 | 3256 | | |
| 3257 | + | |
| 3258 | + | |
3253 | 3259 | | |
3254 | 3260 | | |
3255 | 3261 | | |
| |||
3270 | 3276 | | |
3271 | 3277 | | |
3272 | 3278 | | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
3273 | 3283 | | |
3274 | 3284 | | |
3275 | 3285 | | |
| 3286 | + | |
| 3287 | + | |
3276 | 3288 | | |
3277 | 3289 | | |
3278 | 3290 | | |
| |||
0 commit comments