Additional clippy fixes
This commit is contained in:
parent
d46415a6e7
commit
7f7914434c
2 changed files with 1 additions and 3 deletions
|
|
@ -224,7 +224,6 @@ fn wait_for_handle_signal(handles: &[winnt::HANDLE]) -> Result<usize, BackendSpe
|
|||
return Err(err);
|
||||
}
|
||||
// Notifying the corresponding task handler.
|
||||
debug_assert!(result >= winbase::WAIT_OBJECT_0);
|
||||
let handle_idx = (result - winbase::WAIT_OBJECT_0) as usize;
|
||||
Ok(handle_idx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue