-
Notifications
You must be signed in to change notification settings - Fork 294
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
Add an Entry API for HashSet #342
Conversation
Could we avoid introducing another |
I expect that If you still want to push for that |
I'll repeat that |
OK, I've dropped the |
@bors r+ |
📌 Commit af67f7d has been approved by |
☀️ Test successful - checks-actions |
Any idea when this will be released? |
I just published a release. |
Thanks! |
This adds
HashSet::entry
andrustc_entry
, mimicking the API ofHashMap
. The "rustc" variants are without theS
type parameter, just like the difference on maps. Set entries have fewer methods since there's no mutable value like in maps, but the basic insert/remove/replace functionality is there.Resolves #274.