Skip to content

Commit f9c6091

Browse files
committed
remove some compiler warnings
1 parent beb1b1f commit f9c6091

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libstd/sys/hermit/condvar.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
use crate::cmp;
21
use crate::ffi::c_void;
3-
use crate::mem;
42
use crate::ptr;
53
use crate::sync::atomic::{AtomicUsize, Ordering::SeqCst};
64
use crate::sys::hermit::abi;
@@ -55,7 +53,7 @@ impl Condvar {
5553
mutex.lock();
5654
}
5755

58-
pub unsafe fn wait_timeout(&self, mutex: &Mutex, dur: Duration) -> bool {
56+
pub unsafe fn wait_timeout(&self, _mutex: &Mutex, _dur: Duration) -> bool {
5957
panic!("wait_timeout not supported on hermit");
6058
}
6159

0 commit comments

Comments
 (0)