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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/unknown.rs b/openpgp/src/packet/unknown.rs
index 885bfddc..50000a61 100644
--- a/openpgp/src/packet/unknown.rs
+++ b/openpgp/src/packet/unknown.rs
@@ -135,7 +135,7 @@ impl Unknown {
/// case.
pub(crate) // For cert/mod.rs
fn best_effort_cmp(&self, other: &Unknown) -> Ordering {
- self.tag.cmp(&other.tag).then_with(|| self.body().cmp(&other.body()))
+ self.tag.cmp(&other.tag).then_with(|| self.body().cmp(other.body()))
}
}