Skip to content

Commit

Permalink
Derive extra error traits
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt authored Apr 19, 2022
1 parent 66ba234 commit 2f4eadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
@@ -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),
Expand Down

0 comments on commit 2f4eadc

Please sign in to comment.