diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-19 17:43:13 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-02-19 17:43:25 -0500 |
commit | 0be734a6d7154573d8e570980f0af27ac5cb8190 (patch) | |
tree | 76789bee4f068ba000a13921ae5caec0a8c4cabe /src/unix.rs | |
parent | 348ef3c36115ac7060f141c27157b6b2f5c91f37 (diff) |
rust 2018 and clippy
Diffstat (limited to 'src/unix.rs')
-rw-r--r-- | src/unix.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/unix.rs b/src/unix.rs index 92f48e6..b819843 100644 --- a/src/unix.rs +++ b/src/unix.rs @@ -1,10 +1,7 @@ -extern crate libc; -extern crate ncurses; - use std::path::{Path, PathBuf}; use std::process; -use config::mimetype; +use crate::config::mimetype; /* pub const fn is_reg(mode: u32) -> bool |