-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Description** - Add the `RangeMut` iterator by generalizing the existing range iterator using a `macro_rules` macro. - Also add the `TreeMap::range_mut` method and docs + example **Motivation** This change is needed to reach feature parity with the `BTreeMap` which has a `range_mut` method. **Testing Done** Added doc test and new unit test. The `RangeMut` test coverage is pretty low, but I'm banking on the fact that the implementation is largely the same as `Range`.
- Loading branch information
Showing
2 changed files
with
203 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters