summaryrefslogtreecommitdiffstats
path: root/src/commands/change_directory.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-07-01 22:27:57 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-07-01 22:28:07 -0400
commit44e79d85b96edf8d52bf99e6eb3b8e2db74d8ee4 (patch)
tree6ad4762efe9c62558079969c5faee1147763e0cd /src/commands/change_directory.rs
parentb9a3d876d046c3920ee63c6454fc43a5b9158f35 (diff)
make use of ? operator more
Diffstat (limited to 'src/commands/change_directory.rs')
-rw-r--r--src/commands/change_directory.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/change_directory.rs b/src/commands/change_directory.rs
index 04c8973..b727055 100644
--- a/src/commands/change_directory.rs
+++ b/src/commands/change_directory.rs
@@ -1,12 +1,10 @@
use std::path;
-use crate::commands;
-
+use crate::commands::{JoshutoCommand, JoshutoRunnable};
use crate::context::JoshutoContext;
use crate::error::JoshutoResult;
use crate::history::DirectoryHistory;
use crate::window::JoshutoView;
-use commands::{JoshutoCommand, JoshutoRunnable};
#[derive(Clone, Debug)]
pub struct ChangeDirectory {