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); } + _ => {} } } }