From 035b50f266588e6cc47f85aadc0efa6b4c1cbd82 Mon Sep 17 00:00:00 2001 From: umr1352 Date: Thu, 12 Dec 2024 10:57:04 +0100 Subject: [PATCH] cargo clippy --- identity_credential/src/sd_jwt_vc/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identity_credential/src/sd_jwt_vc/builder.rs b/identity_credential/src/sd_jwt_vc/builder.rs index 8bef4059c..46b28bc9b 100644 --- a/identity_credential/src/sd_jwt_vc/builder.rs +++ b/identity_credential/src/sd_jwt_vc/builder.rs @@ -364,7 +364,7 @@ mod tests { .subject(Subject::with_id(Url::parse("https://example.com/subjects/42")?)) .build()?; - let sd_jwt_vc = SdJwtVcBuilder::new_from_credential(credential.clone(), Sha256Hasher::default())? + let sd_jwt_vc = SdJwtVcBuilder::new_from_credential(credential.clone(), Sha256Hasher)? .vct(Url::parse("https://example.com/types/0")?) .finish(&TestSigner, "HS256") .await?;