aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-10-29 00:05:17 +0100
committerTeddy Wing2018-10-29 00:05:17 +0100
commitec60f43a0e0b46ad23a840bab4b80efac2310fec (patch)
treed966b7bf7e5c04810dfb5c7664a24e9e8933d72e /src/map.rs
parentc54226120bdc9277f9ab6e0e54dae9062550702d (diff)
downloaddome-key-map-ec60f43a0e0b46ad23a840bab4b80efac2310fec.tar.bz2
Rename `run_key_action_for_mode` to `run_key_action`
Now that this function no longer takes a "current mode" argument, the "mode" part of the name doesn't make sense.
Diffstat (limited to 'src/map.rs')
-rw-r--r--src/map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.rs b/src/map.rs
index b24474b..7e6441d 100644
--- a/src/map.rs
+++ b/src/map.rs
@@ -6,7 +6,7 @@ use {Action, HeadphoneButton, MapAction, MapKind};
use ffi::State;
use sounds;
-pub fn run_key_action_for_mode<'a>(
+pub fn run_key_action<'a>(
state: &mut State,
trigger: &'a [HeadphoneButton],
) {