Skip to content

Commit

Permalink
kbs: token: drop unused impl Display for tokenverifier
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi committed Aug 9, 2024
1 parent 88692e5 commit c23cc3b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions kbs/src/token/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -51,9 +50,3 @@ pub async fn create_token_verifier(
as Arc<RwLock<dyn AttestationTokenVerifier + Send + Sync>>),
}
}

impl fmt::Display for AttestationTokenVerifierType {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{:?}", self)
}
}

0 comments on commit c23cc3b

Please sign in to comment.