-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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, RwLock<T>: Send
requires T: Send
and T: Sync
. It would be sufficient to requires T: Send
. (Transmitting an RwLock
can't move an &T
across thread boundaries.)
Is there interest in relaxing these kinds of bounds? Or, maybe, at least document the fact that the bounds could be more relaxed in the source?
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.