From c990a7869068f008cce687ab188a6d821de0d359 Mon Sep 17 00:00:00 2001 From: Jacob Date: Thu, 5 Dec 2024 16:24:19 +0000 Subject: [PATCH] Fmt --- src/core/presentation_submission.rs | 3 ++- tests/jwt_vp.rs | 7 +------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/core/presentation_submission.rs b/src/core/presentation_submission.rs index b2329c8..73a87c5 100644 --- a/src/core/presentation_submission.rs +++ b/src/core/presentation_submission.rs @@ -154,7 +154,8 @@ impl MatchingInputs<'_, T> { for d in definition.input_descriptors() { if self .by_descriptor - .get(d.id.as_str()).is_none_or(|i| i.is_empty()) + .get(d.id.as_str()) + .is_none_or(|i| i.is_empty()) { return Err(SubmissionValidationError::MissingRequiredInput( d.id.clone(), diff --git a/tests/jwt_vp.rs b/tests/jwt_vp.rs index 959cfcd..ec4df22 100644 --- a/tests/jwt_vp.rs +++ b/tests/jwt_vp.rs @@ -53,12 +53,7 @@ pub async fn create_test_verifiable_presentation() -> Result