Skip to content

TrieSet should impl Set/MutableSet; add with_capacity to PriorityQueue/SmallIntMap #13306

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 2 commits into from

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Apr 4, 2014

Two minor tweaks to collections. This makes TrieSet implement Set and MutableSet. It also allows preinitialization of PriorityQueue and SmallIntMap.

This is a rebased version of #13061.

@bors bors closed this in 4cf8d8c Apr 5, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 20, 2025
)

Closes rust-lang#13306
Closes rust-lang#9925
Closes rust-lang#9470
Closes rust-lang#9305

Clippy gives wrong suggestions when the key is not `Copy`. As suggested
in rust-lang#9925, in such cases Clippy will simply warn but no fix.

changelog: [`map_entry`]: fix wrong suggestions when key is not `Copy`
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants