Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change OccupiedEntry::key() to return the existing key in the map #170

Merged
merged 2 commits into from
Feb 23, 2021

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jan 20, 2021

The new behavior is consistent with HashMap entries in the standard
library, and it has been our intent to match that API when possible.

Fixes #169.

The new behavior is consistent with `HashMap` entries in the standard
library, and it has been our intent to match that API when possible.
Copy link
Member

@bluss bluss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OccupiedEntry::key() gives the new key instead of the old one
2 participants