Fix missing Eq for OutofColorRangeParseError

main
Caemor 2021-01-23 16:23:36 +01:00
parent bccfc81b13
commit 1a612c92d3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ pub use BinaryColor::Off as White;
pub use BinaryColor::On as Black;
/// When trying to parse u8 to one of the color types
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub struct OutOfColorRangeParseError(u8);
impl core::fmt::Display for OutOfColorRangeParseError {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {