Closed steffahn closed 10 months ago
It’s like a Box, so it can support Send/Sync implementations like a Box.
Box
Send
Sync
Currently, it’s
impl<T: ?Sized> Send for UniqueArc<T> where T: Send + Sync, impl<T: ?Sized> Sync for UniqueArc<T> where T: Send + Sync,
but as far as I can tell, it should be entirely sound to have it instead be
impl<T: ?Sized> Send for UniqueArc<T> where T: Send, impl<T: ?Sized> Sync for UniqueArc<T> where T: Sync,
Good catch, thanks!
It’s like a
Box
, so it can supportSend
/Sync
implementations like aBox
.Currently, it’s
but as far as I can tell, it should be entirely sound to have it instead be