Skip to content

Conversation

@bluss
Copy link
Member

@bluss bluss commented Mar 4, 2018

This fixes an inconsistency compared with HashMap; this way we use the
same signature for our OccupiedEntry::insert.

Fixes #68

Thanks @dtolnay

This fixes an inconsistency compared with HashMap; this way we use the
same signature for our OccupiedEntry::insert.
@bluss
Copy link
Member Author

bluss commented Mar 5, 2018

With this, we are go for 1.0 right?

@bluss bluss merged commit 0490e1d into master Mar 5, 2018
@bluss bluss deleted the map-entry-insert branch March 5, 2018 19:09
@cuviper
Copy link
Member

cuviper commented Mar 5, 2018

I think so! I did another sweep, and didn't notice anything else different from HashMap and HashSet. Just missing shrink_to_fit as #19 already notes, and I didn't fully check that all trait implementations match, but that can be extended later.

@cuviper cuviper mentioned this pull request Sep 16, 2020
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.

Signature of OccupiedEntry::insert

3 participants