From 2f4eadcbacc44040bab5818e7033b560e272244a Mon Sep 17 00:00:00 2001 From: Sebastien Guillemot Date: Tue, 19 Apr 2022 19:37:20 +0900 Subject: [PATCH] Derive extra error traits --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 273b9c9d5..974bdba14 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,5 +1,5 @@ /// An error from unsuccessful database operations -#[derive(Debug, PartialEq)] +#[derive(Debug, PartialEq, Eq, Clone)] pub enum DbErr { /// There was a problem with the database connection Conn(String),