summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-02-20 20:56:36 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-02-20 20:56:36 -0500
commit60b35381b3437c4eca80e4338e75d9f454dd150f (patch)
treeb608a50b4447948b80228f0bbb9aa8f164a121ec /src/config
parentc7497dd187e9729aef2630f22b481d02864ad3bb (diff)
remove dyn for Box<Trait>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/keymap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/keymap.rs b/src/config/keymap.rs
index eb0c81c..6b4a1f1 100644
--- a/src/config/keymap.rs
+++ b/src/config/keymap.rs
@@ -63,7 +63,7 @@ impl JoshutoKeymap {
fn insert_keycommand(
map: &mut HashMap<i32, commands::CommandKeybind>,
- keycommand: Box<dyn commands::JoshutoCommand>,
+ keycommand: Box<commands::JoshutoCommand>,
keys: &[String],
) {
if keys.len() == 1 {