diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-12-12 15:31:57 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2024-01-25 11:35:17 +0100 |
commit | 7c69fe2ec91f4dba1c5dc49d9fd450282a73fcc6 (patch) | |
tree | 3c9f481e754f7afb6590ee6e8d6b57e2fe5536c2 /openpgp/src/regex | |
parent | aefc8b19e401ed6a94a582dc91dd83ff1a94143a (diff) |
openpgp: Deprecate Cert::into_packets.
Diffstat (limited to 'openpgp/src/regex')
-rw-r--r-- | openpgp/src/regex/mod.rs | 6 |
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, |