diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-12-14 15:52:33 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-12-14 15:52:33 +0100 |
commit | 2ea514aa99f93e12e72fe6742c0f9cccf29cda95 (patch) | |
tree | 2125ee0f19490d04044b1a1ce8732b52655e6e99 /openpgp/src/message/mod.rs | |
parent | 7de4521cb6b65d86cffecd1461344cecd0a7f4e0 (diff) |
openpgp: Drop the doc-hack in favor of doc(inline).
Diffstat (limited to 'openpgp/src/message/mod.rs')
-rw-r--r-- | openpgp/src/message/mod.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs index 8442cb6d..bee24f0a 100644 --- a/openpgp/src/message/mod.rs +++ b/openpgp/src/message/mod.rs @@ -293,11 +293,6 @@ impl MessageValidator { } } -// DOC-HACK: To avoid having a top-level re-export of `Cert`, we move -// it in a submodule `def`. -pub use def::Message; -mod def { -use super::*; /// A message. /// /// An OpenPGP message is a structured sequence of OpenPGP packets. @@ -344,9 +339,8 @@ use super::*; #[derive(PartialEq)] pub struct Message { /// A message is just a validated packet pile. - pub(super) pile: PacketPile, + pile: PacketPile, } -} // doc-hack, see above assert_send_and_sync!(Message); impl fmt::Debug for Message { |