Require that PartialEq
is implemented for Action
This commit is contained in:
parent
eae7c2267c
commit
3a69943df3
19 changed files with 58 additions and 49 deletions
|
@ -18,10 +18,10 @@ use settings::Settings;
|
|||
use state::{Mode, Operator, VimState};
|
||||
use workspace::{self, Workspace};
|
||||
|
||||
#[derive(Clone, Deserialize)]
|
||||
#[derive(Clone, Deserialize, PartialEq)]
|
||||
pub struct SwitchMode(pub Mode);
|
||||
|
||||
#[derive(Clone, Deserialize)]
|
||||
#[derive(Clone, Deserialize, PartialEq)]
|
||||
pub struct PushOperator(pub Operator);
|
||||
|
||||
impl_actions!(vim, [SwitchMode, PushOperator]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue