summaryrefslogtreecommitdiff
path: root/src/sys/pthread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/pthread.rs')
-rw-r--r--src/sys/pthread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/pthread.rs b/src/sys/pthread.rs
index fd81f3ed..6bad03a4 100644
--- a/src/sys/pthread.rs
+++ b/src/sys/pthread.rs
@@ -28,6 +28,7 @@ feature! {
/// won't send any signal.
///
/// [`pthread_kill(3)`]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html
+#[allow(clippy::not_unsafe_ptr_arg_deref)]
#[cfg(not(target_os = "redox"))]
pub fn pthread_kill<T>(thread: Pthread, signal: T) -> Result<()>
where T: Into<Option<crate::sys::signal::Signal>>