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/identity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/metadata/identity.rs') diff --git a/src/metadata/identity.rs b/src/metadata/identity.rs index 9e17213..8ded144 100644 --- a/src/metadata/identity.rs +++ b/src/metadata/identity.rs @@ -235,10 +235,10 @@ impl Identity { where F: FnMut(&ContentHash) -> io::Result>, { - use error::Verification::IncompatibleSpecVersion; + use error::Verification::IncompatibleVersion; if !FMT_VERSION.is_compatible(&self.fmt_version) { - return Err(IncompatibleSpecVersion); + return Err(IncompatibleVersion); } let canonical = self.canonicalise()?; -- cgit v1.2.3