Rollup merge of #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).
This commit is contained in:
Guillaume Gomez 2024-02-15 14:33:00 +01:00 committed by GitHub
commit 2bc7e8bb03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available