Skip to content

Commit 4527dfa

Browse files
committed
twim: derive Copy, Clone, Eq to Error
1 parent 47c478c commit 4527dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nrf-hal-common/src/twim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ pub struct Pins {
568568
pub sda: Pin<Input<Floating>>,
569569
}
570570

571-
#[derive(Debug)]
571+
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
572572
pub enum Error {
573573
TxBufferTooLong,
574574
RxBufferTooLong,

0 commit comments

Comments
 (0)