summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/unknown.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/unknown.rs')
-rw-r--r--openpgp/src/packet/unknown.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/packet/unknown.rs b/openpgp/src/packet/unknown.rs
index 6f482c12..0b5ddf61 100644
--- a/openpgp/src/packet/unknown.rs
+++ b/openpgp/src/packet/unknown.rs
@@ -31,8 +31,7 @@ pub struct Unknown {
impl PartialEq for Unknown {
fn eq(&self, other: &Unknown) -> bool {
- self.common == other.common
- && self.tag == other.tag
+ self.tag == other.tag
&& self.container == other.container
}
}
@@ -41,7 +40,6 @@ impl Eq for Unknown { }
impl Hash for Unknown {
fn hash<H: Hasher>(&self, state: &mut H) {
- self.common.hash(state);
self.tag.hash(state);
self.container.hash(state);
}