Merge pull request #2018 from jamesmunns/add-derives

Add some uncontroversial derives to Error types
This commit is contained in:
Dario Nieuwenhuis
2023-10-07 00:03:10 +00:00
committed by GitHub
10 changed files with 11 additions and 10 deletions

View File

@ -366,7 +366,7 @@ pub struct ADT7422<'d, BUS: I2cBus> {
bus: BUS,
}
#[derive(Debug, Format)]
#[derive(Debug, Format, PartialEq, Eq)]
pub enum Error<I2cError: Format> {
I2c(I2cError),
Address,