From 0c74d375f7f51f10998f2a39de5fbcc3a11bef7b Mon Sep 17 00:00:00 2001 From: Jacob Birkett Date: Mon, 7 Oct 2024 13:23:22 -0700 Subject: [PATCH] i2c: AddressMode: add bound Copy --- embedded-hal/src/i2c.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedded-hal/src/i2c.rs b/embedded-hal/src/i2c.rs index 3d042cd3..7ce6c6a9 100644 --- a/embedded-hal/src/i2c.rs +++ b/embedded-hal/src/i2c.rs @@ -276,7 +276,7 @@ impl ErrorType for &mut T { /// Address mode (7-bit / 10-bit). /// /// Note: This trait is sealed and should not be implemented outside of this crate. -pub trait AddressMode: private::Sealed + 'static {} +pub trait AddressMode: Copy + private::Sealed + 'static {} /// 7-bit address mode type. ///