summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/partial_body.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2018-05-17 09:24:29 +0200
committerNeal H. Walfield <neal@pep.foundation>2018-05-17 09:34:14 +0200
commit29e4d58feb6529543f1132d070d638744b6222a3 (patch)
treeddfc18ace18213a3a8ca0ce8f40cd08f6f82269b /openpgp/src/parse/partial_body.rs
parent0cbb527d5e53ab4747a567c02dd29992046895ee (diff)
Avoid use of 'use super' except in sub-modules in the same file.
- Using relative paths makes it harder to move files around; prefer absolute paths except in an embedded sub-module, as is typically the case for unit tests.
Diffstat (limited to 'openpgp/src/parse/partial_body.rs')
-rw-r--r--openpgp/src/parse/partial_body.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/parse/partial_body.rs b/openpgp/src/parse/partial_body.rs
index 9604c4d2..033f6e24 100644
--- a/openpgp/src/parse/partial_body.rs
+++ b/openpgp/src/parse/partial_body.rs
@@ -4,8 +4,8 @@ use std::io;
use std::io::{Error,ErrorKind};
use buffered_reader::{buffered_reader_generic_read_impl, BufferedReader};
-use super::BodyLength;
-use super::Cookie;
+use BodyLength;
+use parse::Cookie;
const TRACE : bool = false;