summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/sys/test_pthread.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/sys/test_pthread.rs b/test/sys/test_pthread.rs
index 7e6baea0..89280100 100644
--- a/test/sys/test_pthread.rs
+++ b/test/sys/test_pthread.rs
@@ -1,11 +1,10 @@
use nix::sys::pthread::*;
-use std::ptr;
#[cfg(target_env = "musl")]
#[test]
fn test_pthread_self() {
let tid = pthread_self();
- assert!(tid != ptr::null_mut());
+ assert!(tid != ::std::ptr::null_mut());
}
#[cfg(not(target_env = "musl"))]