mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 22:44:59 +00:00
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).