From c23cc3b982e8078c7125336355979167f1601dd8 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Thu, 8 Aug 2024 15:07:35 +0300 Subject: [PATCH] kbs: token: drop unused impl Display for tokenverifier Signed-off-by: Mikko Ylinen --- kbs/src/token/mod.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kbs/src/token/mod.rs b/kbs/src/token/mod.rs index f17453001b..99674c2a46 100644 --- a/kbs/src/token/mod.rs +++ b/kbs/src/token/mod.rs @@ -5,7 +5,6 @@ use anyhow::*; use async_trait::async_trait; use serde::Deserialize; -use std::fmt; use std::sync::Arc; use strum::EnumString; use tokio::sync::RwLock; @@ -51,9 +50,3 @@ pub async fn create_token_verifier( as Arc>), } } - -impl fmt::Display for AttestationTokenVerifierType { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "{:?}", self) - } -}