-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Thanks for this crate! Also thanks for adding RangeMap::overlapping recently; this is super useful.
Do you see any reason why we cannot also add RangeMap::overlapping_mut to mutate the values? BTreeMap has range_mut, so it should be easy to implement. I can't see how this would break any of the internal invariants of splitting or coalescing. As of now, the only way to mutate a value is by inserting a new value. This is quite cumbersome when the value is a Vec<_> that we might want to append to, for example.
If this seems reasonable, I'm happy to implement it.
schneiderfelipe
Metadata
Metadata
Assignees
Labels
No labels