Skip to content

Commit

Permalink
fix clippy warning with rustc 1.74
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges committed Nov 17, 2023
1 parent 655fd91 commit e60d9bc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/condure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,8 @@ impl App {
}

// wait for termination
for signal in &mut signals {
match signal {
signal_type if TERM_SIGNALS.contains(&signal_type) => break,
_ => unreachable!(),
}
}
let signal_type = signals.into_iter().next().unwrap();
assert!(TERM_SIGNALS.contains(&signal_type));
}

pub fn sizes() -> Vec<(String, usize)> {
Expand Down

0 comments on commit e60d9bc

Please sign in to comment.