From 6931432dcdc08269ea7797f42ebde1d260499820 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 13 Sep 2022 10:47:23 +0200 Subject: [PATCH] add eq auto-derive --- src/temp_sensor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/temp_sensor.rs b/src/temp_sensor.rs index bc739f9..d289d39 100644 --- a/src/temp_sensor.rs +++ b/src/temp_sensor.rs @@ -21,7 +21,7 @@ pub struct Adt75TempSensor { current_reg: RegAddresses, } -#[derive(PartialEq, Debug, Copy, Clone)] +#[derive(PartialEq, Eq, Debug, Copy, Clone)] pub enum RegAddresses { Temperature = 0x00, Configuration = 0x01,