Skip to content

Commit

Permalink
Unrolled build for rust-lang#128309
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#128309 - kmicklas:btreeset-cursor, r=Amanieu

Implement cursors for `BTreeSet`

Tracking issue: rust-lang#107540

This is a straightforward wrapping of the map API, except that map's `CursorMut` does not make sense, because there is no value to mutate. Hence, map's `CursorMutKey` is wrapped here as just `CursorMut`, since it's unambiguous for sets and we don't normally speak of "keys". On the other hand, I can see some potential for confusion with `CursorMut` meaning different things in each module. I'm happy to take suggestions to improve that.

r? ````@Amanieu````
  • Loading branch information
rust-timer authored Aug 5, 2024
2 parents 176e545 + 0bc501e commit c20dead
Showing 1 changed file with 582 additions and 1 deletion.
Loading

0 comments on commit c20dead

Please sign in to comment.