diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/openpgp/openpgp.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openpgp/openpgp.rs b/src/openpgp/openpgp.rs index f813f80a..221c0850 100644 --- a/src/openpgp/openpgp.rs +++ b/src/openpgp/openpgp.rs @@ -417,6 +417,10 @@ impl Message { grandchildren: None, }; } + + pub fn into_iter(self) -> std::vec::IntoIter<Packet> { + self.packets.into_iter() + } } impl Packet { |