We have a use case that requires being able to replace an existing key with a new key in an ordered map such that order is maintained. We currently use this library, so I figured I would contribute rather than perma-forking.
Changes
add a ReplaceKey method to OrderedMap
Testing
added several tests matching the library's form as much as possible.
Background
We have a use case that requires being able to replace an existing key with a new key in an ordered map such that order is maintained. We currently use this library, so I figured I would contribute rather than perma-forking.
Changes
ReplaceKey
method toOrderedMap
Testing
This change is![Reviewable](https://reviewable.io/review_button.svg)