Skip to content

Commit 8d21950

Browse files
committed
Opt-out from R: MaybeSend in AsyncThread<R>
1 parent 9536785 commit 8d21950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ unsafe impl Sync for Thread {}
8686
#[must_use = "futures do nothing unless you `.await` or poll them"]
8787
pub struct AsyncThread<R> {
8888
thread: Thread,
89-
ret: PhantomData<R>,
89+
ret: PhantomData<fn() -> R>,
9090
recycle: bool,
9191
}
9292

0 commit comments

Comments
 (0)