Skip to content

Commit 4d1e52e

Browse files
committed
x509-cert: test-support/zlint: implement Eq in addition to PartialEq
Add Eq to the list of derived traits to make clippy happy. Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent c32401a commit 4d1e52e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x509-cert/test-support/src/zlint.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::{
1111
};
1212
use tempfile::tempdir;
1313

14-
#[derive(Debug, Copy, Clone, PartialEq)]
14+
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
1515
pub enum Status {
1616
NotApplicable,
1717
NotEffective,
@@ -29,7 +29,7 @@ impl Status {
2929
}
3030
}
3131

32-
#[derive(Debug, Clone, PartialEq)]
32+
#[derive(Debug, Clone, PartialEq, Eq)]
3333
pub struct LintStatus {
3434
pub status: Status,
3535
pub details: Option<String>,

0 commit comments

Comments
 (0)