You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking through all the types, seeing how Send and Sync bounds relate to each other, when I noticed that unlike most other types in sync, in the impl section AtomicBool only says
impl Sync for AtomicBool
without any mention of Send, one way or the other.
I was expecting that like Arc, Cell, and Mutex, there would be an explicit listing of it's Sendness and Syncness.
The text was updated successfully, but these errors were encountered:
Send and Sync only need to be explicitly implemented when they want to be Send and Sync in cases where they wouldn't automatically be Send and Sync. This is either closely related to or a duplicate of #17606
I was looking through all the types, seeing how
Send
andSync
bounds relate to each other, when I noticed that unlike most other types insync
, in theimpl
sectionAtomicBool
only sayswithout any mention of
Send
, one way or the other.I was expecting that like
Arc
,Cell
, andMutex
, there would be an explicit listing of it'sSend
ness andSync
ness.The text was updated successfully, but these errors were encountered: