From 1ae5dd8b16aed61958fd3ce488ed7fd459743652 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sun, 31 May 2020 15:17:16 -0600 Subject: Convert the crate to edition 2018 --- src/sys/mman.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/sys/mman.rs') 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!{ -- cgit v1.2.3