mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
472c820eb3
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).