Skip to content

Commit 519857c

Browse files
committed
More standard derives for Error
1 parent 8e61874 commit 519857c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ impl<T: ThirtyTwoByteHash> From<T> for Message {
507507
}
508508

509509
/// An ECDSA error
510-
#[derive(Copy, PartialEq, Eq, Clone, Debug)]
510+
#[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)]
511511
pub enum Error {
512512
/// Signature failed verification
513513
IncorrectSignature,

0 commit comments

Comments
 (0)