summaryrefslogtreecommitdiff
path: root/src/metadata/identity.rs
diff options
context:
space:
mode:
authorKim Altintop <kim@eagain.io>2023-03-29 18:37:04 +0200
committerKim Altintop <kim@eagain.io>2023-03-29 18:37:04 +0200
commit607a5609f858cd707dca3a936d80a7a9539b4b5a (patch)
tree1f842bc11cb130e611d1521d0d3146cbbf1d7e32 /src/metadata/identity.rs
parent1c2e7a3c68fcec8a620e01ac1d4daed87ff7f02d (diff)
Leftovers
- Missing "use" in README - Rename IncompatibleSpecVersion to IncompatibleVersion Signed-off-by: Kim Altintop <kim@eagain.io>
Diffstat (limited to 'src/metadata/identity.rs')
-rw-r--r--src/metadata/identity.rs4
1 files changed, 2 insertions, 2 deletions
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<Signed<Self>>,
{
- 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()?;