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

Bounds for AtomicRefCell<T>: Send are unnecessarily restrictive #13

Closed
yvt opened this issue Sep 18, 2021 · 1 comment
Closed

Bounds for AtomicRefCell<T>: Send are unnecessarily restrictive #13

yvt opened this issue Sep 18, 2021 · 1 comment

Comments

@yvt
Copy link
Contributor

yvt commented Sep 18, 2021

Currently AtomicRefCell<T>: Send requires T: Send + Sync. I believe this can be relaxed to T: Send.

Also, see: rust-lang/rust#42934

@bholley
Copy link
Owner

bholley commented Sep 29, 2021

Ok, I think I'm convinced. Will publish an update.

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

No branches or pull requests

2 participants