-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(fmt): fix formatting for how-to-spawn-vim using
cargo fmt
Signed-off-by: Deep Panchal <[email protected]>
- Loading branch information
1 parent
d7315bc
commit 212c8ca
Showing
11 changed files
with
1,220 additions
and
1,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
use std::{fmt, string::ToString}; | ||
|
||
use serde::{ | ||
de::{self, Deserializer, Visitor}, | ||
Deserialize, Serialize, | ||
de::{self, Deserializer, Visitor}, | ||
Deserialize, Serialize, | ||
}; | ||
use strum::Display; | ||
|
||
// ANCHOR: action | ||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Display, Deserialize)] | ||
pub enum Action { | ||
Tick, | ||
Render, | ||
Resize(u16, u16), | ||
Suspend, | ||
Resume, | ||
Quit, | ||
Refresh, | ||
Error(String), | ||
Help, | ||
EditFile, | ||
Tick, | ||
Render, | ||
Resize(u16, u16), | ||
Suspend, | ||
Resume, | ||
Quit, | ||
Refresh, | ||
Error(String), | ||
Help, | ||
EditFile, | ||
} | ||
// ANCHOR_END: action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.