refactor: combine equivalent match branches

This commit is contained in:
Lucille L. Blumire 2025-04-17 16:06:24 +01:00
parent 36afc85d38
commit 6a9e035d19
No known key found for this signature in database
GPG key ID: D168492023622329
4 changed files with 10 additions and 9 deletions

View file

@ -72,9 +72,9 @@ impl VerificationResult {
verified_count,
unverified_count,
} => verified_count > unverified_count,
VerificationResult::Failure => false,
VerificationResult::Interrupted => false,
VerificationResult::NoProofsFound => false,
VerificationResult::Failure
| VerificationResult::Interrupted
| VerificationResult::NoProofsFound => false,
}
}
}