Skip to content

Commit 2bbfc28

Browse files
committed
Only derive Debug for error type
Error types need only derive `Debug`.
1 parent 07f80cc commit 2bbfc28

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
@@ -13,7 +13,7 @@ use crate::types::*;
1313

1414
/// Errors returned by `libbitcoinconsensus` (see github.com/bitcoin/bitcoin/doc/shared-libraries.md).
1515
#[allow(non_camel_case_types)]
16-
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy)]
16+
#[derive(Debug)]
1717
#[repr(C)]
1818
pub enum Error {
1919
/// Default value, passed to `libbitcoinconsensus` as a return parameter.

0 commit comments

Comments
 (0)