mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Fix missing Eq for OutofColorRangeParseError
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ pub use BinaryColor::Off as White;
|
|||||||
pub use BinaryColor::On as Black;
|
pub use BinaryColor::On as Black;
|
||||||
|
|
||||||
/// When trying to parse u8 to one of the color types
|
/// When trying to parse u8 to one of the color types
|
||||||
#[derive(Debug)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub struct OutOfColorRangeParseError(u8);
|
pub struct OutOfColorRangeParseError(u8);
|
||||||
impl core::fmt::Display for OutOfColorRangeParseError {
|
impl core::fmt::Display for OutOfColorRangeParseError {
|
||||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||||
|
|||||||
Reference in New Issue
Block a user