diff --git a/bitcoin/src/blockdata/script/push_bytes.rs b/bitcoin/src/blockdata/script/push_bytes.rs index 59f651314..bae7902b3 100644 --- a/bitcoin/src/blockdata/script/push_bytes.rs +++ b/bitcoin/src/blockdata/script/push_bytes.rs @@ -413,7 +413,7 @@ mod error { /// Error returned on attempt to create too large `PushBytes`. #[allow(unused)] - #[derive(Debug, Clone, Copy, PartialEq, Eq)] + #[derive(Debug, Clone, PartialEq, Eq)] pub struct PushBytesError { never: core::convert::Infallible, } @@ -435,7 +435,7 @@ mod error { use core::fmt; /// Error returned on attempt to create too large `PushBytes`. - #[derive(Debug, Clone, Copy, PartialEq, Eq)] + #[derive(Debug, Clone, PartialEq, Eq)] pub struct PushBytesError { /// How long the input was. pub(super) len: usize,