-
Couldn't load subscription status.
- Fork 13.9k
Closed
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Currently, the HashMap entry types are never Send or Sync. It seems to me that the Entry types should be Send whenever their key/value types are Send and Sync whenever their key/value types are Sync. Properly implementing Send/Sync for OccupiedEntry and VacantEntry will solve the problem for Entry as well. Is there any known reason why Entry and friends should not be Send or Sync?
cuviper, Majora320 and sugar700
Metadata
Metadata
Assignees
Labels
C-feature-acceptedCategory: A feature request that has been accepted pending implementation.Category: A feature request that has been accepted pending implementation.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.