allow(clippy): single_match for signal handler
Should get more matches in the future.
This commit is contained in:
parent
12571a115d
commit
b9eb6c5b99
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue