summaryrefslogtreecommitdiffstats
path: root/src/commands/change_directory.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-25 08:41:39 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-25 08:42:09 -0400
commite411fc0be674ff01b614802a1e706071593c6647 (patch)
treeaf6175466c9c739266539b45fae5d1b264522e78 /src/commands/change_directory.rs
parentd41770f76a9d19c9df7fd44e971c636eb1c23e1e (diff)
rework how previewing works
- should be more extensible now
Diffstat (limited to 'src/commands/change_directory.rs')
-rw-r--r--src/commands/change_directory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/change_directory.rs b/src/commands/change_directory.rs
index 07181a2..4dfe942 100644
--- a/src/commands/change_directory.rs
+++ b/src/commands/change_directory.rs
@@ -69,7 +69,7 @@ impl JoshutoRunnable for ChangeDirectory {
view: &JoshutoView,
) -> Result<(), JoshutoError> {
match Self::change_directory(&self.path, context, view) {
- Ok(_) => {},
+ Ok(_) => {}
Err(e) => return Err(JoshutoError::IO(e)),
}
ncurses::doupdate();