Skip to content

Commit

Permalink
x509-cert: test-support/zlint: implement Eq in addition to PartialEq
Browse files Browse the repository at this point in the history
Add Eq to the list of derived traits to make clippy happy.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
  • Loading branch information
lumag committed Apr 16, 2023
1 parent c32401a commit 4d1e52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x509-cert/test-support/src/zlint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{
};
use tempfile::tempdir;

#[derive(Debug, Copy, Clone, PartialEq)]
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum Status {
NotApplicable,
NotEffective,
Expand All @@ -29,7 +29,7 @@ impl Status {
}
}

#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct LintStatus {
pub status: Status,
pub details: Option<String>,
Expand Down

0 comments on commit 4d1e52e

Please sign in to comment.