atom
atom copied to clipboard
Unsound: `AtomSetOnce<T>: Sync` should require `T: Send + Sync`
E.g., if T == Box<Cell<u32>>, AtomSetOnce<Box<Cell<u32>>> could be shared between threads and allow the immutable borrowing of Box<Cell<u32>>, which is Send + !Sync, by multiple threads.