summaryrefslogtreecommitdiffstats
path: root/openpgp/src/types/revocation_key.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/types/revocation_key.rs')
-rw-r--r--openpgp/src/types/revocation_key.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/openpgp/src/types/revocation_key.rs b/openpgp/src/types/revocation_key.rs
index c0457b24..b55d65ce 100644
--- a/openpgp/src/types/revocation_key.rs
+++ b/openpgp/src/types/revocation_key.rs
@@ -45,9 +45,8 @@ use crate::{
/// .set_revocation_keys(vec![(&alice).into()])
/// .generate()?;
///
-/// // Make sure Alice is listed as a designated revoker for Bob
-/// // on a component.
-/// assert_eq!(bob.with_policy(p, None)?.primary_userid()?.revocation_keys(p)
+/// // Make sure Alice is listed as a designated revoker for Bob.
+/// assert_eq!(bob.with_policy(p, None)?.revocation_keys(p)
/// .collect::<Vec<&RevocationKey>>(),
/// vec![&(&alice).into()]);
/// # Ok(()) }