Simplify lints
This commit is contained in:
parent
008554a2bd
commit
5acf49d018
2 changed files with 3 additions and 7 deletions
|
|
@ -54,6 +54,7 @@ impl From<crossterm::event::KeyEvent> for KeyEvent {
|
|||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
#[allow(unused_macro_rules)]
|
||||
macro_rules! key {
|
||||
// key!(Paste text)
|
||||
( Paste $text:ident ) => { crate::ui::input::InputEvent::Paste($text) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue