summaryrefslogtreecommitdiffstats
path: root/src/unix.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-02-19 17:43:13 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-02-19 17:43:25 -0500
commit0be734a6d7154573d8e570980f0af27ac5cb8190 (patch)
tree76789bee4f068ba000a13921ae5caec0a8c4cabe /src/unix.rs
parent348ef3c36115ac7060f141c27157b6b2f5c91f37 (diff)
rust 2018 and clippy
Diffstat (limited to 'src/unix.rs')
-rw-r--r--src/unix.rs5
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