Skip to content

Commit 4ad2657

Browse files
committed
Add copy and eq to UsbError
1 parent 0cbc134 commit 4ad2657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#![warn(missing_docs)]
3838

3939
/// A USB stack error.
40-
#[derive(Debug)]
40+
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
4141
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
4242
pub enum UsbError {
4343
/// An operation would block because the device is currently busy or there is no data available.

0 commit comments

Comments
 (0)