Skip to content
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

Relax the trait bounds of HashSet::raw_table{,_mut} #423

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

kawadakk
Copy link
Contributor

@kawadakk kawadakk commented Apr 20, 2023

Removes the trait bounds T: Eq + Hash, S: BuildHasher from HashSet<T, S, A>::raw_table{,_mut}.

Considering that the HashMap counterpart doesn't have these bounds, they are likely unintentional.

@kawadakk kawadakk force-pushed the patches/relax-set-raw-table-bounds branch from b746626 to 5b96822 Compare April 20, 2023 06:27
@Amanieu
Copy link
Member

Amanieu commented Apr 21, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 21, 2023

📌 Commit 5b96822 has been approved by Amanieu

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Apr 21, 2023

⌛ Testing commit 5b96822 with merge e8c96d0...

@bors
Copy link
Collaborator

bors commented Apr 21, 2023

☀️ Test successful - checks-actions
Approved by: Amanieu
Pushing e8c96d0 to master...

@bors bors merged commit e8c96d0 into rust-lang:master Apr 21, 2023
25 checks passed
@kawadakk kawadakk deleted the patches/relax-set-raw-table-bounds branch April 24, 2023 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants