mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
e4367cec5e
Implement cursors for `BTreeSet` Tracking issue: https://github.com/rust-lang/rust/issues/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```` |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |