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
{{ message }}
This repository was archived by the owner on Nov 5, 2018. It is now read-only.
Are you meaning that spawn_unchecked returns JoinHandle<()> rather than JoinHandle<T>, right?
It seems it's hard to do so right now. First of all, JoinHandle<T> requires T: 'static, while spawn_unchecked doesn't require T. So the best we can get may be JoinHandle<[u8; mem::size_of::<T>()]>, but it's impossible to do so right now, too: rust-lang/rust#43408
Currently they return a
ScopedJoinHandle<()>
.The text was updated successfully, but these errors were encountered: