Skip to content

Commit

Permalink
Merge #579: Followup: Disallow missing Debug implementations for `S…
Browse files Browse the repository at this point in the history
…calar` type.

e597860 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 e597860
  apoelstra:
    ACK e597860

Tree-SHA512: fd9682550cc6bd2d3d59d067d3a0c7faf5767b4c127d86f95c7355ff795189272f399ce2df7d870f85fa3a3d6727fa6debc058171aab965a8f0aa5b5aecff581
  • Loading branch information
apoelstra committed Feb 3, 2023
2 parents 8603719 + e597860 commit 11001f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use crate::constants;
// Internal represenation is big endian to match what `libsecp256k1` uses.
// Also easier to implement comparison.
// Debug impl omitted for now, the bytes may be secret
#[allow(missing_debug_implementations)]
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd)]
pub struct Scalar([u8; 32]);
impl_pretty_debug!(Scalar);
Expand Down

0 comments on commit 11001f4

Please sign in to comment.