diff --git a/contracts/okp4-dataverse/src/registrar/credential.rs b/contracts/okp4-dataverse/src/registrar/credential.rs index be95b4ad..c0d4e1c4 100644 --- a/contracts/okp4-dataverse/src/registrar/credential.rs +++ b/contracts/okp4-dataverse/src/registrar/credential.rs @@ -29,7 +29,7 @@ impl<'a> DataverseCredential<'a> { "credential is expected to have exactly one type".to_string(), ) }) - .map(|t| *t) + .copied() } fn extract_vc_claim(