From 5c4dfd4a96358bd385c4922c4bc2784f6a4092f2 Mon Sep 17 00:00:00 2001 From: oxalica Date: Sat, 21 Sep 2024 07:37:57 -0400 Subject: [PATCH] fix(types): fix typo --- blah-types/src/identity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blah-types/src/identity.rs b/blah-types/src/identity.rs index fea3aaf..4c3c334 100644 --- a/blah-types/src/identity.rs +++ b/blah-types/src/identity.rs @@ -23,7 +23,7 @@ pub struct UserIdentityDesc { #[derive(Debug, Error)] #[error(transparent)] -pub struct VerfiyError(#[from] VerifyErrorImpl); +pub struct VerifyError(#[from] VerifyErrorImpl); #[derive(Debug, Error)] enum VerifyErrorImpl { @@ -45,7 +45,7 @@ impl UserIdentityDesc { pub const WELL_KNOWN_PATH: &str = "/.well-known/blah/identity.json"; /// Validate signatures of the identity description at given time. - pub fn verify(&self, id_url: Option<&IdUrl>, now_timestamp: u64) -> Result<(), VerfiyError> { + pub fn verify(&self, id_url: Option<&IdUrl>, now_timestamp: u64) -> Result<(), VerifyError> { if self.id_key != self.profile.signee.user.id_key { return Err(VerifyErrorImpl::ProfileIdKeyMismatch.into()); }