summaryrefslogtreecommitdiffstats
path: root/src/commands/rename_file.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/commands/rename_file.rs
parent348ef3c36115ac7060f141c27157b6b2f5c91f37 (diff)
rust 2018 and clippy
Diffstat (limited to 'src/commands/rename_file.rs')
-rw-r--r--src/commands/rename_file.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/commands/rename_file.rs b/src/commands/rename_file.rs
index f61ab4c..9de918b 100644
--- a/src/commands/rename_file.rs
+++ b/src/commands/rename_file.rs
@@ -1,13 +1,11 @@
-extern crate ncurses;
-
use std::fs;
use std::path;
-use commands::{JoshutoCommand, JoshutoRunnable};
-use context::JoshutoContext;
-use preview;
-use textfield::JoshutoTextField;
-use ui;
+use crate::commands::{JoshutoCommand, JoshutoRunnable};
+use crate::context::JoshutoContext;
+use crate::preview;
+use crate::textfield::JoshutoTextField;
+use crate::ui;
#[derive(Clone, Debug)]
pub enum RenameFileMethod {