fix: make inner state send as it's protected critical section

This commit is contained in:
Ulf Lilleengen 2024-01-25 08:38:01 +01:00
parent db0f4a0b91
commit 1989c229f9

View file

@ -225,6 +225,8 @@ pub(crate) mod sealed {
pub waker: WakerRegistration, pub waker: WakerRegistration,
} }
unsafe impl Send for InnerState {}
impl State { impl State {
pub const fn new() -> Self { pub const fn new() -> Self {
Self { Self {