summaryrefslogtreecommitdiffstats
path: root/openpgp/src/message
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-13 15:45:32 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-13 16:41:26 +0100
commitbfeda8e25b13a4221d63a0b9978ef55a77cd33f5 (patch)
treefc0f3dbee2fefc47df4abab50356380d961f0cea /openpgp/src/message
parentf9aa80d1adb056091e4d12d8d042b54750348d61 (diff)
openpgp: Decouple PacketPile and Container.
- Likewise for the test.
Diffstat (limited to 'openpgp/src/message')
-rw-r--r--openpgp/src/message/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs
index 7ec6d0ef..1e3f3e69 100644
--- a/openpgp/src/message/mod.rs
+++ b/openpgp/src/message/mod.rs
@@ -1100,7 +1100,7 @@ mod tests {
// 2: SEIP
// 0: Literal
// => good.
- packets[2].container_mut().unwrap().packets.pop().unwrap();
+ packets[2].container_mut().unwrap().children_mut().pop().unwrap();
#[allow(deprecated)]
packets.insert(