diff options
| author | Teddy Wing | 2018-10-29 00:05:17 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2018-10-29 00:05:17 +0100 | 
| commit | ec60f43a0e0b46ad23a840bab4b80efac2310fec (patch) | |
| tree | d966b7bf7e5c04810dfb5c7664a24e9e8933d72e /src/map.rs | |
| parent | c54226120bdc9277f9ab6e0e54dae9062550702d (diff) | |
| download | dome-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.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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],  ) { | 
