fix match lint
This commit is contained in:
parent
b8c5418dd5
commit
6499410713
1 changed files with 2 additions and 0 deletions
|
@ -179,11 +179,13 @@ where
|
||||||
|
|
||||||
fn process_messages(&mut self) {
|
fn process_messages(&mut self) {
|
||||||
while let Ok(msg) = self.receiver.try_recv() {
|
while let Ok(msg) = self.receiver.try_recv() {
|
||||||
|
#[allow(clippy::single_match)]
|
||||||
match msg {
|
match msg {
|
||||||
EmulatorMessage::Stop => {
|
EmulatorMessage::Stop => {
|
||||||
self.cpu.memory.flush_rom();
|
self.cpu.memory.flush_rom();
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
_ => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue