This commit is contained in:
Dominik Maier 2021-11-17 20:18:50 +01:00
parent 5605f233fc
commit 01bb599759

View File

@ -873,7 +873,7 @@ where
/// the timeout handler
#[inline]
fn timeout_handler(&self) -> WaitOrTimerCallback {
let func: WaitOrTimerCallback = unsafe { transmute(self.timeout_handler) };
let func: WaitOrTimerCallback = unsafe { transmute(self.timeout_handler()) };
func
}
}