summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/cert_armored.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-01-20 14:47:19 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-01-20 14:52:58 +0100
commit213f3204087f363c00d9ec42a48c034c6edeae1b (patch)
treed7e6e5dfe7abbd9556bd1321178f744d30c099a5 /openpgp/src/serialize/cert_armored.rs
parentf0f645c7a9b6926d0c542f4a4430d0fd47859b41 (diff)
openpgp: Rename ComponentIter::components to bindings.
- `ComponentIter::components` returns `ComponentBindings`. It is more accurate to call it `ComponentIter::component_bindings`. But, since it is called on a component, just use the shorter name, `ComponentIter::bindings`.
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 c8da915c..40c05464 100644
--- a/openpgp/src/serialize/cert_armored.rs
+++ b/openpgp/src/serialize/cert_armored.rs
@@ -29,7 +29,7 @@ impl Cert {
pub fn armor_headers(&self) -> Vec<String> {
let length_value = armor::LINE_LENGTH - "Comment: ".len();
// Create a header per userid.
- let mut headers: Vec<String> = self.userids().components()
+ let mut headers: Vec<String> = self.userids().bindings()
// Ignore revoked userids.
.filter_map(|uidb| {
if let RevocationStatus::Revoked(_) = uidb.revoked(None) {