Skip to content

Conversation

@bluss
Copy link
Member

@bluss bluss commented Sep 24, 2017

  • Remove get_pair, and rename get_pair_index to get_full. Same with the
    mutable variant.

  • Move mutable key methods to MutableKeys -- we want this feature to be
    out of the way, but opt-in. The trait has mutable key-versions of
    get_full and retain

Fixes #7

@bluss bluss mentioned this pull request Sep 24, 2017
8 tasks
- Remove get_pair, and rename get_pair_index to get_full. Same with the
  mutable variant.

- Move mutable key methods to MutableKeys -- we want this feature to be
  out of the way, but opt-in. The trait has mutable key-versions of
  get_full and retain
@bluss
Copy link
Member Author

bluss commented Sep 24, 2017

cc @garro95 github code search found you as a user of mutable keys. As a head's up, ordermap is preparing some small remodeling to put mutable key methods on a trait, so that users opt in to a "nonstandard" interface. Expected to be in ordermap 0.3 (or if the crate renames, there will be a bigger PSA).

Also return the index, hence the name full
@bluss bluss merged commit 9dce2c3 into master Sep 24, 2017
@bluss bluss deleted the mutable-keys branch September 24, 2017 19:09
@bluss bluss mentioned this pull request Oct 2, 2017
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant