From 281b441934e63af98003f46ff667240dd530ed7d Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Thu, 16 May 2024 14:30:02 +0200 Subject: [PATCH] SFT-3631: Derive PartialEq and Eq. * src/lib.rs (VerifyHeaderError): Derive PartialEq and Eq. --- firmware/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/src/lib.rs b/firmware/src/lib.rs index 67fe75d..81d8e87 100644 --- a/firmware/src/lib.rs +++ b/firmware/src/lib.rs @@ -228,7 +228,7 @@ impl Signature { } /// Errors that can happen when verifying the firmware header. -#[derive(Debug)] +#[derive(Debug, PartialEq, Eq)] pub enum VerifyHeaderError { /// Unknown magic bytes. UnknownMagic(u32),