summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/bundle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/bundle.rs')
-rw-r--r--openpgp/src/cert/bundle.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/cert/bundle.rs b/openpgp/src/cert/bundle.rs
index 272088ce..d37f5158 100644
--- a/openpgp/src/cert/bundle.rs
+++ b/openpgp/src/cert/bundle.rs
@@ -397,7 +397,7 @@ impl<C> ComponentBundle<C> {
/// for (i, ka) in cert.keys().enumerate() {
/// eprintln!("Key #{} ({}) has {:?} self signatures",
/// i, ka.fingerprint(),
- /// ka.self_signatures().len());
+ /// ka.self_signatures().count());
/// }
/// # Ok(()) }
/// ```
@@ -426,7 +426,7 @@ impl<C> ComponentBundle<C> {
/// for ua in cert.userids() {
/// eprintln!("User ID {} has {:?} unverified, third-party certifications",
/// String::from_utf8_lossy(ua.userid().value()),
- /// ua.certifications().len());
+ /// ua.certifications().count());
/// }
/// # Ok(()) }
/// ```
@@ -456,7 +456,7 @@ impl<C> ComponentBundle<C> {
/// for u in cert.userids() {
/// eprintln!("User ID {} has {:?} revocation certificates.",
/// String::from_utf8_lossy(u.userid().value()),
- /// u.self_revocations().len());
+ /// u.self_revocations().count());
/// }
/// # Ok(()) }
/// ```
@@ -486,7 +486,7 @@ impl<C> ComponentBundle<C> {
/// for u in cert.userids() {
/// eprintln!("User ID {} has {:?} unverified, third-party revocation certificates.",
/// String::from_utf8_lossy(u.userid().value()),
- /// u.other_revocations().len());
+ /// u.other_revocations().count());
/// }
/// # Ok(()) }
/// ```