summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/cert_armored.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-02-26 22:59:49 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-02-26 23:09:19 +0100
commit86309e9c4971bd2e4ba80bf4a655aab091cd89b9 (patch)
tree6898365f04b99c48fb6af97b25df427fa1d1978d /openpgp/src/serialize/cert_armored.rs
parentceab08e222fadc68c3330dbfe2b47db34bf7141f (diff)
openpgp: Don't unnecessarily use ComponentAmalgamation::bundle.
- A `ComponentAmalgamation` derefs to a `ComponentBundle`. Don't use `ComponentAmalgamation::bundle` if it is unnecessary and doesn't improve legibility.
Diffstat (limited to 'openpgp/src/serialize/cert_armored.rs')
-rw-r--r--openpgp/src/serialize/cert_armored.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize/cert_armored.rs b/openpgp/src/serialize/cert_armored.rs
index 5ac09bfb..47093dfb 100644
--- a/openpgp/src/serialize/cert_armored.rs
+++ b/openpgp/src/serialize/cert_armored.rs
@@ -32,7 +32,7 @@ impl Cert {
let length_value = armor::LINE_LENGTH - "Comment: ".len();
// Create a header per userid.
- let mut headers: Vec<String> = self.userids().bundles()
+ let mut headers: Vec<String> = self.userids()
// Ignore revoked userids.
.filter_map(|uidb| {
if let RevocationStatus::Revoked(_) = uidb.revoked(&p, None) {