Skip to content

Commit

Permalink
errors: Bring back Eq and PartialEq in Error struct to fix tests again.
Browse files Browse the repository at this point in the history
  • Loading branch information
return committed Jan 11, 2019
1 parent 0ef130a commit b5777ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::{fmt, result};
use std::error::Error as StdErr;

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

0 comments on commit b5777ee

Please sign in to comment.