Followup: Disallow missing `Debug` implementations for `Scalar` type.

This commit is contained in:
Arik Sosman 2023-02-02 13:29:05 -08:00
parent 8603719a93
commit e597860a64
No known key found for this signature in database
GPG Key ID: F4FB5A3366C4D92E
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.
// 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);