This commit is contained in:
Without Boats 2020-01-31 17:14:20 +01:00
parent c9acdb0bd4
commit ede03a4175

View File

@ -83,5 +83,5 @@ fn raw_waker<W: Wake + Send + Sync + 'static>(waker: Arc<W>) -> RawWaker {
RawWaker::new(
Arc::into_raw(waker) as *const (),
&RawWakerVTable::new(clone_waker::<W>, wake::<W>, wake_by_ref::<W>, drop_waker::<W>),
))
)
}