We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb1b1f commit f9c6091Copy full SHA for f9c6091
src/libstd/sys/hermit/condvar.rs
@@ -1,6 +1,4 @@
1
-use crate::cmp;
2
use crate::ffi::c_void;
3
-use crate::mem;
4
use crate::ptr;
5
use crate::sync::atomic::{AtomicUsize, Ordering::SeqCst};
6
use crate::sys::hermit::abi;
@@ -55,7 +53,7 @@ impl Condvar {
55
53
mutex.lock();
56
54
}
57
58
- pub unsafe fn wait_timeout(&self, mutex: &Mutex, dur: Duration) -> bool {
+ pub unsafe fn wait_timeout(&self, _mutex: &Mutex, _dur: Duration) -> bool {
59
panic!("wait_timeout not supported on hermit");
60
61
0 commit comments