From 87df85abebf686721dead750e7ae8356855b06a9 Mon Sep 17 00:00:00 2001 From: Dave Huseby Date: Tue, 12 Dec 2023 13:54:40 -0700 Subject: [PATCH] clean up Error Signed-off-by: Dave Huseby --- Cargo.toml | 2 +- src/error.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 17e7e53..12c0c27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multitrait" -version = "0.1.8" +version = "0.1.9" edition = "2021" authors = ["Dave Huseby "] description = "Common traits for multiformats types" diff --git a/src/error.rs b/src/error.rs index b1f1845..3ab05e4 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,7 +1,5 @@ -use thiserror::Error; - /// Errors generated by the numeric type impls -#[derive(Clone, Debug, Eq, Error, PartialEq)] +#[derive(Clone, Debug, thiserror::Error)] #[non_exhaustive] pub enum Error { /// an unsigned-varint error