summaryrefslogtreecommitdiff
path: root/src/sys/stat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/stat.rs')
-rw-r--r--src/sys/stat.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/sys/stat.rs b/src/sys/stat.rs
index f8fae4ee..c3915b09 100644
--- a/src/sys/stat.rs
+++ b/src/sys/stat.rs
@@ -1,14 +1,12 @@
pub use libc::{dev_t, mode_t};
pub use libc::stat as FileStat;
-use {Result, NixPath};
-use errno::Errno;
+use crate::{Result, NixPath, errno::Errno};
#[cfg(not(target_os = "redox"))]
-use fcntl::{AtFlags, at_rawfd};
-use libc;
+use crate::fcntl::{AtFlags, at_rawfd};
use std::mem;
use std::os::unix::io::RawFd;
-use sys::time::{TimeSpec, TimeVal};
+use crate::sys::time::{TimeSpec, TimeVal};
libc_bitflags!(
pub struct SFlag: mode_t {