Skip to content

Commit

Permalink
Merge pull request #634 from spikespaz/master
Browse files Browse the repository at this point in the history
i2c: AddressMode: add bound Copy
  • Loading branch information
Dirbaio authored Oct 15, 2024
2 parents dd0bbba + d3f300c commit 14b1765
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 14b1765

Please sign in to comment.