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.