rust-lang / hashbrown

Rust port of Google's SwissTable hash map
https://rust-lang.github.io/hashbrown
Apache License 2.0
2.46k stars 288 forks source link

Add `get_or_insert_equivalent` method to HashSet #547

Open Soveu opened 3 months ago

Soveu commented 3 months ago

I'm probably the only person that might need this API, however it also shortens a little other get_or_insert methods, so maybe it will be worth going this direction.

bors commented 2 months ago

:umbrella: The latest upstream changes (presumably #555) made this pull request unmergeable. Please resolve the merge conflicts.