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.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/openpgp/src/packet/unknown.rs b/openpgp/src/packet/unknown.rs
index c2e9a5f3..4cd876ee 100644
--- a/openpgp/src/packet/unknown.rs
+++ b/openpgp/src/packet/unknown.rs
@@ -11,6 +11,11 @@ use crate::Packet;
/// how to process rather than abort.
///
/// This packet effectively holds a binary blob.
+///
+/// # A note on equality
+///
+/// Two `Unknown` packets are considered equal if their tag and their
+/// body is equal.
#[derive(Debug)]
pub struct Unknown {
/// CTB packet header fields.