summaryrefslogtreecommitdiffstats
path: root/src/commands/search.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/search.rs
parent348ef3c36115ac7060f141c27157b6b2f5c91f37 (diff)
rust 2018 and clippy
Diffstat (limited to 'src/commands/search.rs')
-rw-r--r--src/commands/search.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/commands/search.rs b/src/commands/search.rs
index a8c1edb..f2d55e2 100644
--- a/src/commands/search.rs
+++ b/src/commands/search.rs
@@ -1,9 +1,7 @@
-extern crate ncurses;
-
-use commands::{CursorMove, JoshutoCommand, JoshutoRunnable};
-use context::JoshutoContext;
-use textfield::JoshutoTextField;
-use ui;
+use crate::commands::{CursorMove, JoshutoCommand, JoshutoRunnable};
+use crate::context::JoshutoContext;
+use crate::textfield::JoshutoTextField;
+use crate::ui;
#[derive(Clone, Debug)]
pub struct Search;