clippy fix

This commit is contained in:
Jörn-Michael Miehe 2025-06-26 10:13:23 +00:00
parent b17f239801
commit d37797d2ec
2 changed files with 2 additions and 3 deletions

View file

@ -73,8 +73,7 @@ impl Error {
pub fn is_fatal(&self) -> bool {
match self {
Self::InvalidParameter(p) => p.is_fatal(),
Self::Mismatch { .. } => true,
Self::Unknown(_) => true,
Self::Mismatch { .. } | Self::Unknown(_) => true,
_ => false,
}
}

View file

@ -48,7 +48,7 @@ pub fn prompt_rebuild_share() {
.interact()
.unwrap_or(false);
if selection == false {
if !selection {
process::exit(0);
}
}