We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
R: MaybeSend
AsyncThread<R>
1 parent 9536785 commit 8d21950Copy full SHA for 8d21950
src/thread.rs
@@ -86,7 +86,7 @@ unsafe impl Sync for Thread {}
86
#[must_use = "futures do nothing unless you `.await` or poll them"]
87
pub struct AsyncThread<R> {
88
thread: Thread,
89
- ret: PhantomData<R>,
+ ret: PhantomData<fn() -> R>,
90
recycle: bool,
91
}
92
0 commit comments