summaryrefslogtreecommitdiff
path: root/src/sys/sysinfo.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2020-05-31 15:17:16 -0600
committerAlan Somers <asomers@gmail.com>2020-05-31 19:07:15 -0600
commit1ae5dd8b16aed61958fd3ce488ed7fd459743652 (patch)
tree17c28555c9b2cd3db3741dcd28b7401d08ad3678 /src/sys/sysinfo.rs
parent84e66d7a29234d16d62c5fa5bc5b66ad5504c2a2 (diff)
downloadnix-1ae5dd8b16aed61958fd3ce488ed7fd459743652.zip
Convert the crate to edition 2018
Diffstat (limited to 'src/sys/sysinfo.rs')
-rw-r--r--src/sys/sysinfo.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/sysinfo.rs b/src/sys/sysinfo.rs
index 9807b444..f4b82798 100644
--- a/src/sys/sysinfo.rs
+++ b/src/sys/sysinfo.rs
@@ -2,8 +2,8 @@ use libc::{self, SI_LOAD_SHIFT};
use std::{cmp, mem};
use std::time::Duration;
-use Result;
-use errno::Errno;
+use crate::Result;
+use crate::errno::Errno;
/// System info structure returned by `sysinfo`.
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]