From e597860a6476cbad1d496b9f451298a88b05b1c8 Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Thu, 2 Feb 2023 13:29:05 -0800 Subject: [PATCH] Followup: Disallow missing `Debug` implementations for `Scalar` type. --- src/scalar.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/scalar.rs b/src/scalar.rs index e25b5a1..6ff20d1 100644 --- a/src/scalar.rs +++ b/src/scalar.rs @@ -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);