allow(clippy): single_match for signal handler

Should get more matches in the future.
This commit is contained in:
a-kenji 2021-02-18 15:11:28 +01:00
parent 12571a115d
commit b9eb6c5b99

View file

@ -83,6 +83,7 @@ fn handle_command_exit(mut child: Child) {
for signal in signals.pending() { for signal in signals.pending() {
// FIXME: We need to handle more signals here! // FIXME: We need to handle more signals here!
#[allow(clippy::single_match)]
match signal { match signal {
signal_hook::SIGINT => { signal_hook::SIGINT => {
child.kill().unwrap(); child.kill().unwrap();