summaryrefslogtreecommitdiffstats
path: root/openpgp/src/message/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-19 14:15:21 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-20 18:04:56 +0100
commit046cbc7837cfae8505cb77cdc0352eeaac023a85 (patch)
treeacd00a0e9043b83648a749a32602b870e2bacbf4 /openpgp/src/message/mod.rs
parent103379888e9d0ccc701a24f2adb539bc9095f10b (diff)
openpgp: Move fields from Common to Container.
Diffstat (limited to 'openpgp/src/message/mod.rs')
-rw-r--r--openpgp/src/message/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs
index 51c548e0..df38cf12 100644
--- a/openpgp/src/message/mod.rs
+++ b/openpgp/src/message/mod.rs
@@ -454,7 +454,6 @@ mod tests {
use crate::crypto::mpis::{Ciphertext, MPI};
use crate::packet::prelude::*;
use crate::KeyID;
- use crate::Container;
#[test]
fn tokens() {
@@ -998,7 +997,6 @@ mod tests {
// 1: MDC
// => good.
let mut seip = SEIP1::new();
- seip.set_children(Some(Container::new()));
seip.children_mut().unwrap().push(
lit.clone().into());
seip.children_mut().unwrap().push(