aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input/keybinds.rs
diff options
context:
space:
mode:
authorcategorille <69397914+categorille@users.noreply.github.com>2021-02-17 15:55:09 +0100
committerGitHub <noreply@github.com>2021-02-17 15:55:09 +0100
commit6e5607ba26d8c1daa384d9eb8c6e138b68360d02 (patch)
treeff7cbeaa74dba9692d224f77f6ad5a7fb8a0ac77 /src/common/input/keybinds.rs
parentinfra(simplify build and install) (diff)
downloadsl0ppij-6e5607ba26d8c1daa384d9eb8c6e138b68360d02.tar.gz
sl0ppij-6e5607ba26d8c1daa384d9eb8c6e138b68360d02.tar.xz
sl0ppij-6e5607ba26d8c1daa384d9eb8c6e138b68360d02.zip
docs: first documentation step (#185)
* added some documentation to the input module * added a bunch of documentation already, doing this non-linearly * added more comments * forgot cargo ftm again oop * PR change requests applied, some forgotten/imcomplete doc added
Diffstat (limited to 'src/common/input/keybinds.rs')
-rw-r--r--src/common/input/keybinds.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/input/keybinds.rs b/src/common/input/keybinds.rs
index 2e65ab35..7197d2de 100644
--- a/src/common/input/keybinds.rs
+++ b/src/common/input/keybinds.rs
@@ -1,4 +1,4 @@
-//! Mapping of inputs to sequences of actions
+//! Mapping of inputs to sequences of actions.
use super::actions::{Action, Direction};
use super::handler::InputMode;
@@ -152,7 +152,6 @@ fn get_defaults_for_mode(mode: &InputMode) -> Result<ModeKeybinds, String> {
);
defaults.insert(Key::Esc, vec![Action::SwitchToMode(InputMode::Command)]);
}
- InputMode::Exiting => {}
}
Ok(defaults)