Skip to content

Commit

Permalink
i2c: AddressMode: add bound Copy
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Oct 7, 2024
1 parent dd0bbba commit f988ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embedded-hal/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ impl<T: ErrorType + ?Sized> 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 + 'static + private::Sealed {}

/// 7-bit address mode type.
///
Expand Down

0 comments on commit f988ce2

Please sign in to comment.