From 8ce85262be36e5f39ddccc2c3655475bd30309b8 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sat, 10 Feb 2024 10:45:18 +0000 Subject: [PATCH] Remove nonsensical DebugSecret implementation --- src/auth.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/auth.rs b/src/auth.rs index 324db45..655c84e 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -1,4 +1,4 @@ -use secrecy::{DebugSecret, SecretString}; +use secrecy::SecretString; use tracing::instrument; #[derive(Debug, Clone)] @@ -6,7 +6,6 @@ pub struct Password(pub SecretString); #[derive(Debug, Clone)] pub struct UserToken(pub SecretString); -impl DebugSecret for UserToken {} #[derive(Debug)] pub struct Authenticator {