Simplify lints

This commit is contained in:
Joscha 2022-12-11 20:36:41 +01:00
parent 008554a2bd
commit 5acf49d018
2 changed files with 3 additions and 7 deletions

View file

@ -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) };