fix: nightly api changed during the night

This commit is contained in:
Oleksandr Babak 2024-09-06 11:16:44 +02:00
parent ca3d091faf
commit 01d8508b6c
No known key found for this signature in database
GPG Key ID: B21CA2CAC0240BB9

View File

@ -50,8 +50,7 @@ pub fn task_from_waker(waker: &Waker) -> TaskRef {
#[cfg(feature = "nightly")] #[cfg(feature = "nightly")]
{ {
let raw_waker = waker.as_raw(); (waker.vtable(), waker.data())
(raw_waker.vtable(), raw_waker.data())
} }
}; };