summaryrefslogtreecommitdiff
path: root/src/thread_parker/unix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread_parker/unix.rs')
-rw-r--r--src/thread_parker/unix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread_parker/unix.rs b/src/thread_parker/unix.rs
index c2381e6..c52ead9 100644
--- a/src/thread_parker/unix.rs
+++ b/src/thread_parker/unix.rs
@@ -11,8 +11,8 @@ use core::{
cell::{Cell, UnsafeCell},
mem::MaybeUninit,
};
-use instant::Instant;
use libc;
+use std::time::Instant;
use std::{thread, time::Duration};
// x32 Linux uses a non-standard type for tv_nsec in timespec.