diff options
Diffstat (limited to 'openpgp/src/cert/bundle.rs')
-rw-r--r-- | openpgp/src/cert/bundle.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/cert/bundle.rs b/openpgp/src/cert/bundle.rs index d37f5158..c8a01656 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().count()); + /// ka.bundle().self_signatures().len()); /// } /// # 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().count()); + /// ua.bundle().certifications().len()); /// } /// # 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().count()); + /// u.bundle().self_revocations().len()); /// } /// # 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().count()); + /// u.bundle().other_revocations().len()); /// } /// # Ok(()) } /// ``` |