Merge rust-bitcoin/rust-secp256k1#579: Followup: Disallow missing `Debug` implementations for `Scalar` type.

e597860a64 Followup: Disallow missing `Debug` implementations for `Scalar` type. (Arik Sosman)

Pull request description:

  Because `Scalar` now implements it, that carveout is no longer necessary.

ACKs for top commit:
  tcharding:
    ACK e597860a64
  apoelstra:
    ACK e597860a64

Tree-SHA512: fd9682550cc6bd2d3d59d067d3a0c7faf5767b4c127d86f95c7355ff795189272f399ce2df7d870f85fa3a3d6727fa6debc058171aab965a8f0aa5b5aecff581
This commit is contained in:
Andrew Poelstra 2023-02-03 13:50:01 +00:00
commit 11001f43e5
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 0 additions and 1 deletions

View File

@ -20,7 +20,6 @@ use crate::constants;
// Internal represenation is big endian to match what `libsecp256k1` uses. // Internal represenation is big endian to match what `libsecp256k1` uses.
// Also easier to implement comparison. // Also easier to implement comparison.
// Debug impl omitted for now, the bytes may be secret // Debug impl omitted for now, the bytes may be secret
#[allow(missing_debug_implementations)]
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd)] #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd)]
pub struct Scalar([u8; 32]); pub struct Scalar([u8; 32]);
impl_pretty_debug!(Scalar); impl_pretty_debug!(Scalar);