Add documentation to actions struct
* Add warning for renaming the actions
This commit is contained in:
parent
f6acd1b4fd
commit
95964d5f87
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue