diff options
Diffstat (limited to 'openpgp/src/packet/container.rs')
-rw-r--r-- | openpgp/src/packet/container.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/packet/container.rs b/openpgp/src/packet/container.rs index 66835548..1e511c6d 100644 --- a/openpgp/src/packet/container.rs +++ b/openpgp/src/packet/container.rs @@ -410,6 +410,8 @@ macro_rules! impl_body_forwards { impl Packet { pub(crate) // for packet_pile.rs fn container_ref(&self) -> Option<&Container> { + // XXX: If you change this function, also change + // PacketRef::container_ref. use std::ops::Deref; match self { Packet::CompressedData(p) => Some(p.deref()), |