-
Notifications
You must be signed in to change notification settings - Fork 87
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
Unsafe impls #23
Comments
At one point, I thought I understood how Also, I think Any thoughts on this matter would be welcome. |
I'm a bit rusty too. Last I heard I'd just make them match their std equivalents as I can't think of any reason why differences in implementation would matter here. |
Seems like a reasonable thing to do, yes |
While working on Once, I noticed that our unsafe
Send
andSync
impls are different from std---I am not sure why or whether its sound. [I ended up going with the RwLock ones forOnce
, since both give access to a&T
to potentially multiple threads.]The text was updated successfully, but these errors were encountered: