提交 f9c60916 编写于 作者: S Stefan Lankes

remove some compiler warnings

上级 beb1b1fa
use crate::cmp;
use crate::ffi::c_void;
use crate::mem;
use crate::ptr;
use crate::sync::atomic::{AtomicUsize, Ordering::SeqCst};
use crate::sys::hermit::abi;
......@@ -55,7 +53,7 @@ pub unsafe fn wait(&self, mutex: &Mutex) {
mutex.lock();
}
pub unsafe fn wait_timeout(&self, mutex: &Mutex, dur: Duration) -> bool {
pub unsafe fn wait_timeout(&self, _mutex: &Mutex, _dur: Duration) -> bool {
panic!("wait_timeout not supported on hermit");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册