From 3bebdc020b17dbb1ebe270cc33684f0ab393d791 Mon Sep 17 00:00:00 2001 From: Enrico Marconi <31142849+UMR1352@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:21:35 +0200 Subject: [PATCH] Update src/sd_jwt.rs Co-authored-by: Yasir --- src/sd_jwt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sd_jwt.rs b/src/sd_jwt.rs index 7be0314..cfba0d0 100644 --- a/src/sd_jwt.rs +++ b/src/sd_jwt.rs @@ -317,7 +317,7 @@ where { let element_key = path .next() - .ok_or_else(|| Error::InvalidPath("element at path doens't exist or is not disclosable".to_string()))?; + .ok_or_else(|| Error::InvalidPath("element at path doesn't exist or is not disclosable".to_string()))?; let has_next = path.peek().is_some(); match object { // We are just traversing to a deeper part of the object.