summaryrefslogtreecommitdiffstats
path: root/src/run.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-28 08:11:06 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-28 08:16:42 -0400
commitb3e9d955b0a60b55a9edeed93e00ce2772f5b467 (patch)
tree31b92eea0e2a3e4f506d7df7932b72f865fbc187 /src/run.rs
parent6f0ae400152d02f43ffd2911040302c97d84178f (diff)
from_args has been changed from option to result
- attempt to fix progress bars
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/run.rs b/src/run.rs
index f070392..82ab20e 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -193,9 +193,7 @@ pub fn run(config_t: config::JoshutoConfig, keymap_t: config::JoshutoKeymap) {
match keymap_t.keymaps.get(&ch) {
Some(CommandKeybind::CompositeKeybind(m)) => match recurse_get_keycommand(&m) {
- Some(s) => {
- keycommand = s;
- }
+ Some(s) => keycommand = s,
None => continue,
},
Some(CommandKeybind::SimpleKeybind(s)) => {