clippy fix
This commit is contained in:
parent
b17f239801
commit
d37797d2ec
2 changed files with 2 additions and 3 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ pub fn prompt_rebuild_share() {
|
|||
.interact()
|
||||
.unwrap_or(false);
|
||||
|
||||
if selection == false {
|
||||
if !selection {
|
||||
process::exit(0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue