-
Notifications
You must be signed in to change notification settings - Fork 22
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
Require T: NoUninit
only for compare_exchange operation?
#40
Comments
|
Also, is the I think compare_exchange operation for |
Still, this is not easy to use. The other option is to just fully remove the I don't think failure of compare_exchange, |
|
At least, |
I still don't think |
For |
Alternatively, remove all |
We could remove the |
Require
T: NoUninit
is too strict in many cases,as many types from 3rdparty crates does not implement this trait,
significantly limits the usablility of ths crate.
I don't think
get_mut
,into_inner
,load
,store
,swap
needsT: NoUninit
,T: Copy
should be just enough.The text was updated successfully, but these errors were encountered: