From 607a5609f858cd707dca3a936d80a7a9539b4b5a Mon Sep 17 00:00:00 2001 From: Kim Altintop Date: Wed, 29 Mar 2023 18:37:04 +0200 Subject: Leftovers - Missing "use" in README - Rename IncompatibleSpecVersion to IncompatibleVersion Signed-off-by: Kim Altintop --- src/metadata/drop.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/metadata/drop.rs') diff --git a/src/metadata/drop.rs b/src/metadata/drop.rs index 1341f68..ae9aefd 100644 --- a/src/metadata/drop.rs +++ b/src/metadata/drop.rs @@ -142,7 +142,7 @@ impl Drop { use error::Verification::*; if !FMT_VERSION.is_compatible(&self.fmt_version) { - return Err(IncompatibleSpecVersion); + return Err(IncompatibleVersion); } let canonical = self.canonicalise()?; @@ -174,7 +174,7 @@ impl Drop { } } if !FMT_VERSION.is_compatible(&mirrors.signed.fmt_version) { - return Err(IncompatibleSpecVersion); + return Err(IncompatibleVersion); } let payload = Sha512::digest(mirrors.signed.canonicalise()?); @@ -198,7 +198,7 @@ impl Drop { } } if !FMT_VERSION.is_compatible(&alt.signed.fmt_version) { - return Err(IncompatibleSpecVersion); + return Err(IncompatibleVersion); } let payload = Sha512::digest(alt.signed.canonicalise()?); -- cgit v1.2.3