diff --git a/src/secret.rs b/src/secret.rs index 49323dd27..9fd43be30 100644 --- a/src/secret.rs +++ b/src/secret.rs @@ -28,7 +28,7 @@ macro_rules! impl_display_secret { hasher.write(&self.secret_bytes()); let hash = hasher.finish(); - f.debug_tuple(stringify!($thing)).field(&format_args!("#{:016x}", hash)).finish() + f.debug_tuple(stringify!($thing)).field(&format_args!("#{:.16x}", hash)).finish() } }