summary refs log tree commit diff
path: root/sys_util/src/handle_eintr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sys_util/src/handle_eintr.rs')
-rw-r--r--sys_util/src/handle_eintr.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys_util/src/handle_eintr.rs b/sys_util/src/handle_eintr.rs
index b570c36..39baf6d 100644
--- a/sys_util/src/handle_eintr.rs
+++ b/sys_util/src/handle_eintr.rs
@@ -15,7 +15,7 @@ pub trait InterruptibleResult {
     fn is_interrupted(&self) -> bool;
 }
 
-impl<T> InterruptibleResult for ::Result<T> {
+impl<T> InterruptibleResult for crate::Result<T> {
     fn is_interrupted(&self) -> bool {
         match self {
             Err(e) if e.errno() == EINTR => true,
@@ -178,9 +178,8 @@ macro_rules! handle_eintr_errno {
 #[cfg(test)]
 mod tests {
     use super::*;
-    use errno::set_errno;
-
-    use Error as SysError;
+    use crate::errno::set_errno;
+    use crate::Error as SysError;
 
     #[test]
     fn i32_eintr_rc() {