Add documentation to actions struct

* Add warning for renaming the actions
This commit is contained in:
a-kenji 2021-05-22 10:15:05 +02:00
parent f6acd1b4fd
commit 95964d5f87

View file

@ -12,6 +12,10 @@ pub enum Direction {
Down, Down,
} }
// As these actions are bound to the default config, please
// do take care when refactoring - or renaming.
// They might need to be adjusted in the default config
// as well `../../../assets/config/default.yaml`
/// Actions that can be bound to keys. /// Actions that can be bound to keys.
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] #[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
pub enum Action { pub enum Action {