summaryrefslogtreecommitdiffstats
path: root/openpgp/src/regex/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/regex/mod.rs')
-rw-r--r--openpgp/src/regex/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/regex/mod.rs b/openpgp/src/regex/mod.rs
index 2581f425..a3fe379d 100644
--- a/openpgp/src/regex/mod.rs
+++ b/openpgp/src/regex/mod.rs
@@ -138,7 +138,7 @@
//! alice.primary_key().component(),
//! alice_userid)?;
//! let alice = alice.insert_packets(alice_certification.clone())?;
-//! # assert!(alice.clone().into_packets().any(|p| {
+//! # assert!(alice.clone().into_packets2().any(|p| {
//! # match p {
//! # Packet::Signature(sig) => sig == alice_certification,
//! # _ => false,
@@ -157,7 +157,7 @@
//! bob.primary_key().component(),
//! bob_userid)?;
//! let bob = bob.insert_packets(bob_certification.clone())?;
-//! # assert!(bob.clone().into_packets().any(|p| {
+//! # assert!(bob.clone().into_packets2().any(|p| {
//! # match p {
//! # Packet::Signature(sig) => sig == bob_certification,
//! # _ => false,
@@ -181,7 +181,7 @@
//! ca.primary_key().component(),
//! ca_userid)?;
//! let ca = ca.insert_packets(ca_tsig.clone())?;
-//! # assert!(ca.clone().into_packets().any(|p| {
+//! # assert!(ca.clone().into_packets2().any(|p| {
//! # match p {
//! # Packet::Signature(sig) => sig == ca_tsig,
//! # _ => false,