fix: 🐛 Fix warnings on newer rust toolchain

This commit is contained in:
Berkus Decker 2022-06-11 01:44:35 +03:00
parent 5b0dbbfb8f
commit 9ac097c3cf
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ impl Color {
}
}
#[derive(PartialEq)]
#[derive(PartialEq, Eq)]
pub enum PixelOrder {
BGR,
RGB,

View File

@ -152,7 +152,7 @@ impl ::core::convert::From<Function> for u32 {
/// Pull up/down resistor setup.
#[repr(u8)]
#[derive(PartialEq)]
#[derive(PartialEq, Eq)]
pub enum PullUpDown {
None = 0b00,
Up = 0b01,