Skip to content

Commit 14b1765

Browse files
authored
Merge pull request #634 from spikespaz/master
i2c: AddressMode: add bound Copy
2 parents dd0bbba + d3f300c commit 14b1765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedded-hal/src/i2c.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ impl<T: ErrorType + ?Sized> ErrorType for &mut T {
276276
/// Address mode (7-bit / 10-bit).
277277
///
278278
/// Note: This trait is sealed and should not be implemented outside of this crate.
279-
pub trait AddressMode: private::Sealed + 'static {}
279+
pub trait AddressMode: Copy + 'static + private::Sealed {}
280280

281281
/// 7-bit address mode type.
282282
///

0 commit comments

Comments
 (0)