diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-09-11 13:32:11 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-09-11 13:32:11 +0200 |
commit | 13cc2c8e374f4d28aae548d266e3a9248d1f1c58 (patch) | |
tree | 571904437afb8dc486a6dc8f4fa92d3b76f0b2a5 /openpgp/src/packet_pile.rs | |
parent | 8173af54152960f85dc8bd8cc1638a2b8361f2b2 (diff) |
openpgp: Rename packet::PacketIter to packet::Iter.
Diffstat (limited to 'openpgp/src/packet_pile.rs')
-rw-r--r-- | openpgp/src/packet_pile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet_pile.rs b/openpgp/src/packet_pile.rs index 4d6e29fa..ba4b5c42 100644 --- a/openpgp/src/packet_pile.rs +++ b/openpgp/src/packet_pile.rs @@ -9,7 +9,7 @@ use buffered_reader::BufferedReader; use crate::Result; use crate::Error; use crate::Packet; -use crate::packet::{Container, PacketIter}; +use crate::packet::{self, Container}; use crate::PacketPile; use crate::parse::PacketParserResult; use crate::parse::PacketParserBuilder; @@ -265,7 +265,7 @@ impl PacketPile { /// Returns an iterator over all of the packet's descendants, in /// depth-first order. - pub fn descendants(&self) -> PacketIter { + pub fn descendants(&self) -> packet::Iter { self.top_level.descendants() } |