summaryrefslogtreecommitdiffstats
path: root/src/input/key_bindings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/key_bindings.rs')
-rw-r--r--src/input/key_bindings.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/key_bindings.rs b/src/input/key_bindings.rs
index f7c626e..76f14af 100644
--- a/src/input/key_bindings.rs
+++ b/src/input/key_bindings.rs
@@ -87,7 +87,7 @@ fn map_keybindings(bindings: &[String]) -> Vec<Event> {
}
impl KeyBindings {
- pub fn new(key_bindings: &crate::config::KeyBindings) -> Self {
+ pub fn new(key_bindings: &config::KeyBindings) -> Self {
Self {
abort: map_keybindings(&key_bindings.abort),
action_break: map_keybindings(&key_bindings.action_break),
@@ -127,10 +127,10 @@ impl KeyBindings {
#[cfg(test)]
mod tests {
+ use config::testutil::create_config;
use rstest::rstest;
use super::*;
- use crate::config::testutil::create_config;
#[test]
fn new() {