summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/packet_pile_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/parse/packet_pile_parser.rs')
-rw-r--r--openpgp/src/parse/packet_pile_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/parse/packet_pile_parser.rs b/openpgp/src/parse/packet_pile_parser.rs
index 9efc6b9c..e1525707 100644
--- a/openpgp/src/parse/packet_pile_parser.rs
+++ b/openpgp/src/parse/packet_pile_parser.rs
@@ -39,7 +39,7 @@ use buffered_reader::BufferedReader;
/// to the packet (`&mut Packet`) that is currently being processed
/// while continuing to support streaming operations. It is also not
/// possible to return a mutable reference to the `PacketParser`.
-/// Thus, we expose the `Option<PacketParser>` directly to the user.
+/// Thus, we expose the `PacketParserResult` directly to the user.
/// *However*, do *not* directly call `PacketParser::next()` or
/// `PacketParser::recurse()`. This will break the `PacketPileParser`
/// implementation.