Skip to content

Commit

Permalink
fix clippy errors
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tate <[email protected]>
  • Loading branch information
Ryanmtate committed Sep 2, 2024
1 parent cc17656 commit 37531bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/credential_format/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,6 @@ impl From<&CredentialType> for String {

impl std::fmt::Display for &CredentialType {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self)
write!(f, "{}", String::from(*self))
}
}

0 comments on commit 37531bb

Please sign in to comment.