fix match lint

This commit is contained in:
Alex Janka 2023-09-28 15:09:17 +10:00
parent b8c5418dd5
commit 6499410713

View file

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