summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2019-09-18 19:37:20 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-18 19:37:20 +0200
commit7684e765606b7c8fca8e7dfbd58a1a5513a8eb6d (patch)
tree211fdcb7a409395f047850f87d6c79fb4c426b40 /examples
parent6cbc940b4f59d9d9ddaef729fb8db7b6ec63e533 (diff)
openpgp: Rename selfsigs to self_signatures.
- There are {TPK, ComponenBinding}::{certifications, self_revocations, other_revocations}. Don't abbreviate self signtures either.
Diffstat (limited to 'examples')
-rw-r--r--examples/guide-exploring-openpgp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guide-exploring-openpgp.rs b/examples/guide-exploring-openpgp.rs
index bb7f4572..cff65378 100644
--- a/examples/guide-exploring-openpgp.rs
+++ b/examples/guide-exploring-openpgp.rs
@@ -55,7 +55,7 @@ fn main() {
for (i, u) in tpk.userids().enumerate() {
println!("{}: UID: {}, {} self-signature(s), {} certification(s)",
i, u.userid(),
- u.selfsigs().len(),
+ u.self_signatures().len(),
u.certifications().len());
}
@@ -63,7 +63,7 @@ fn main() {
for (i, s) in tpk.subkeys().enumerate() {
println!("{}: Fingerprint: {}, {} self-signature(s), {} certification(s)",
i, s.key().fingerprint(),
- s.selfsigs().len(),
+ s.self_signatures().len(),
s.certifications().len());
}
}