More standard derives for Error

This commit is contained in:
Dr Maxim Orlovsky 2021-01-30 12:35:41 +01:00
parent 8e61874d77
commit 519857cd83
No known key found for this signature in database
GPG Key ID: FFC0250947E5C6F7
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ impl<T: ThirtyTwoByteHash> From<T> for Message {
} }
/// An ECDSA error /// An ECDSA error
#[derive(Copy, PartialEq, Eq, Clone, Debug)] #[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)]
pub enum Error { pub enum Error {
/// Signature failed verification /// Signature failed verification
IncorrectSignature, IncorrectSignature,