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
CopyCell<T> is a Cell-like type that is implemented for any type T that
is Copyable. It's Send trait has no bounds on the contained type.
As not all Copyable types are thread safe, for example non-mutable references
implement the Copy trait, it is possible to send references to types with
interior mutability such as Cell across threads and cause data races.
toolshed
0.6.3
CopyCell<T>
is aCell
-like type that is implemented for any typeT
thatis
Copy
able. It'sSend
trait has no bounds on the contained type.As not all
Copy
able types are thread safe, for example non-mutable referencesimplement the
Copy
trait, it is possible to send references to types withinterior mutability such as
Cell
across threads and cause data races.See advisory page for additional details.
The text was updated successfully, but these errors were encountered: