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
Send and sync are implemented by default only when all generic arguments are send/sync, which is not always necessary. To get them without bounds one needs to write
unsafe impl<T> Send for SomeType<T> {}
unsafe impl<T> Sync for SomeType<T> {}
for every such type. It would be more convenient to have #[derivative(Sync(bounds=""), Send(bounds=""))].
The text was updated successfully, but these errors were encountered:
Send and sync are implemented by default only when all generic arguments are send/sync, which is not always necessary. To get them without bounds one needs to write
for every such type. It would be more convenient to have
#[derivative(Sync(bounds=""), Send(bounds=""))]
.The text was updated successfully, but these errors were encountered: