From 649941071341996d0ea132a691b1426670387f5f Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 28 Sep 2023 15:09:17 +1000 Subject: [PATCH] fix match lint --- lib/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 57b5220..67f81dd 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -179,11 +179,13 @@ where fn process_messages(&mut self) { while let Ok(msg) = self.receiver.try_recv() { + #[allow(clippy::single_match)] match msg { EmulatorMessage::Stop => { self.cpu.memory.flush_rom(); exit(0); } + _ => {} } } }