diff options
Diffstat (limited to 'src/key_command/impl_display.rs')
-rw-r--r-- | src/key_command/impl_display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key_command/impl_display.rs b/src/key_command/impl_display.rs index 9c9a7b4..c414486 100644 --- a/src/key_command/impl_display.rs +++ b/src/key_command/impl_display.rs @@ -2,7 +2,7 @@ use super::{AppCommand, Command}; impl std::fmt::Display for Command { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { - match &*self { + match self { Self::ChangeDirectory(p) => write!(f, "{} {:?}", self.command(), p), Self::CommandLine(s, p) => write!(f, "{} {} {}", self.command(), s, p), Self::CursorMoveUp(i) => write!(f, "{} {}", self.command(), i), |