Merge pull request #530 from a-kenji/action-doc

Add documentation to actions struct
This commit is contained in:
a-kenji 2021-05-22 10:43:26 +02:00 committed by GitHub
commit d13fc7cafa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {