summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-06-01 10:51:57 +0200
committerMatthias Beyer <mail@beyermatthias.de>2022-06-01 11:23:17 +0200
commite87bcbd2664ebcd3ad5adf06e3adcbe2badec07a (patch)
tree3b81fa037620c4428374d0a871ad507e80dcb6bd /tests
parent8ae5a57fbce4a6d4a1f3f73258e65ad5d9752869 (diff)
Fix clippy: Derive Eq as well
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/legacy/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/legacy/errors.rs b/tests/legacy/errors.rs
index 885580f..e0835f5 100644
--- a/tests/legacy/errors.rs
+++ b/tests/legacy/errors.rs
@@ -65,7 +65,7 @@ fn test_error_type_detached() {
#[test]
fn test_error_enum_de() {
- #[derive(Debug, Deserialize, PartialEq)]
+ #[derive(Debug, Deserialize, PartialEq, Eq)]
enum Diode {
Off,
Brightness(i32),