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/preview.rs | |
parent | 348ef3c36115ac7060f141c27157b6b2f5c91f37 (diff) |
rust 2018 and clippy
Diffstat (limited to 'src/preview.rs')
-rw-r--r-- | src/preview.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/preview.rs b/src/preview.rs index d5ff4ca..45b2fb0 100644 --- a/src/preview.rs +++ b/src/preview.rs @@ -1,13 +1,8 @@ -extern crate mime; -extern crate mime_detective; -extern crate ncurses; - use std::path::PathBuf; use std::process; -use context::JoshutoContext; -use ui; -use window; +use crate::context::JoshutoContext; +use crate::window; pub fn preview_file(context: &mut JoshutoContext) { /* |