Skip to content

Commit b5777ee

Browse files
committed
errors: Bring back Eq and PartialEq in Error struct to fix tests again.
1 parent 0ef130a commit b5777ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::{fmt, result};
22
use std::error::Error as StdErr;
33

44
/// The type of Branca errors that can occur when encoding or decoding Branca tokens.
5-
#[derive(Debug, Copy, Clone)]
5+
#[derive(Debug, Eq, PartialEq, Copy, Clone)]
66
pub enum Error {
77
/// When the given input is not a valid Base62 encoding.
88
InvalidBase62Token,

0 commit comments

Comments
 (0)