Closed thomcc closed 3 years ago
It isn't too rare to use Cell<T> instead of UnsafeCell<T> if T is Copy. It also is way more compatible with the stdlib API. Wasn't sure what to do for tests here.
Cell<T>
UnsafeCell<T>
T
Copy
Stable CI failure is a warning that's fixed by #195 (merged)
It isn't too rare to use
Cell<T>
instead ofUnsafeCell<T>
ifT
isCopy
. It also is way more compatible with the stdlib API. Wasn't sure what to do for tests here.