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/cert.rs | |
parent | 7de4521cb6b65d86cffecd1461344cecd0a7f4e0 (diff) |
openpgp: Drop the doc-hack in favor of doc(inline).
Diffstat (limited to 'openpgp/src/cert.rs')
-rw-r--r-- | openpgp/src/cert.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs index 2f091c2a..fc548cd2 100644 --- a/openpgp/src/cert.rs +++ b/openpgp/src/cert.rs @@ -489,11 +489,6 @@ pub trait Preferences<'a>: seal::Sealed { fn features(&self) -> Option<Features>; } -// DOC-HACK: To avoid having a top-level re-export of `Cert`, we move -// it in a submodule `def`. -pub use def::Cert; -mod def { -use super::*; /// A collection of components and their associated signatures. /// /// The `Cert` data structure mirrors the [TPK and TSK data @@ -707,25 +702,18 @@ use super::*; /// ``` #[derive(Debug, Clone, PartialEq)] pub struct Cert { - pub(super) // doc-hack, see above primary: PrimaryKeyBundle<key::PublicParts>, - pub(super) // doc-hack, see above userids: UserIDBundles, - pub(super) // doc-hack, see above user_attributes: UserAttributeBundles, - pub(super) // doc-hack, see above subkeys: SubkeyBundles<key::PublicParts>, // Unknown components, e.g., some UserAttribute++ packet from the // future. - pub(super) // doc-hack, see above unknowns: UnknownBundles, // Signatures that we couldn't find a place for. - pub(super) // doc-hack, see above bad: Vec<packet::Signature>, } -} // doc-hack, see above assert_send_and_sync!(Cert); impl std::str::FromStr for Cert { |