-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Standard library should have a set module #2640
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Milestone
Comments
It would also be nice to be able to pass in the hash/eq fns using ifaces, like:
Actually the same thing would be nice for maps, too. |
@Dretch That would be good, yes. |
Merged
b86c90b is a start towards this, but the usual set operations still need to be added. |
b927e48 closes this. Thanks, @thestinger ! |
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Nov 6, 2022
Fix dupe word typos
Aaron1011
pushed a commit
to Aaron1011/rust
that referenced
this issue
Jan 6, 2023
Fix dupe word typos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's code in rustc that represents sets as hash maps with value type
()
, and that's a little hokey. Sets should be in the standard library.The text was updated successfully, but these errors were encountered: