mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
fix: nightly api changed during the night
This commit is contained in:
parent
ca3d091faf
commit
01d8508b6c
@ -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())
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user