diff options
author | Alan Somers <asomers@gmail.com> | 2020-05-31 15:17:16 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2020-05-31 19:07:15 -0600 |
commit | 1ae5dd8b16aed61958fd3ce488ed7fd459743652 (patch) | |
tree | 17c28555c9b2cd3db3741dcd28b7401d08ad3678 /src/sys/mman.rs | |
parent | 84e66d7a29234d16d62c5fa5bc5b66ad5504c2a2 (diff) | |
download | nix-1ae5dd8b16aed61958fd3ce488ed7fd459743652.zip |
Convert the crate to edition 2018
Diffstat (limited to 'src/sys/mman.rs')
-rw-r--r-- | src/sys/mman.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs index dfa46264..5a5dd89e 100644 --- a/src/sys/mman.rs +++ b/src/sys/mman.rs @@ -1,12 +1,12 @@ -use {Error, Result}; +use crate::{Error, Result}; #[cfg(not(target_os = "android"))] -use NixPath; -use errno::Errno; +use crate::NixPath; +use crate::errno::Errno; #[cfg(not(target_os = "android"))] -use fcntl::OFlag; +use crate::fcntl::OFlag; use libc::{self, c_int, c_void, size_t, off_t}; #[cfg(not(target_os = "android"))] -use sys::stat::Mode; +use crate::sys::stat::Mode; use std::os::unix::io::RawFd; libc_bitflags!{ |