Skip to content

Commit d976dc4

Browse files
Derive Eq as well as PartialEq
Error: you are deriving `PartialEq` and can implement `Eq` for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq * Derive 'Eq' as well. Signed-off-by: Tomás González <[email protected]>
1 parent 4d6c190 commit d976dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tss-esapi/src/abstraction/public.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use serde::{Deserialize, Serialize};
2121
///
2222
/// Holds either [`picky_asn1_x509::RsaPublicKey`] for [`crate::structures::Public::Rsa`] or
2323
/// [`picky_asn1_x509::EcPoint`] for [`crate::structures::Public::Ecc`].
24-
#[derive(Serialize, Deserialize, Debug, PartialEq, Clone)]
24+
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
2525
pub enum DecodedKey {
2626
RsaPublicKey(RsaPublicKey),
2727
EcPoint(EcPoint),

0 commit comments

Comments
 (0)