Skip to content

Commit

Permalink
Merge pull request #47790 from fastly/jkarneges/fix-warning
Browse files Browse the repository at this point in the history
fix clippy warning with rustc 1.74
  • Loading branch information
jkarneges authored Nov 20, 2023
2 parents 655fd91 + e60d9bc commit d366462
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 d366462

Please sign in to comment.