diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-08-30 12:28:23 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-10-11 14:54:59 +0200 |
commit | ce8de674983ce11387b3b50971e87e5291911b4a (patch) | |
tree | 739f73d1dcd8870f4f174bbfdfbe819e84b45205 | |
parent | 27697be3e5e3bf1af9cf0a3793806fe209776b1a (diff) |
openpgp: Fix links.
-rw-r--r-- | openpgp/src/cert/amalgamation.rs | 4 | ||||
-rw-r--r-- | openpgp/src/packet/key.rs | 4 | ||||
-rw-r--r-- | openpgp/src/packet/mod.rs | 2 | ||||
-rw-r--r-- | openpgp/src/packet/tag.rs | 2 |
4 files changed, 4 insertions, 8 deletions
diff --git a/openpgp/src/cert/amalgamation.rs b/openpgp/src/cert/amalgamation.rs index 6b28c3be..db086b98 100644 --- a/openpgp/src/cert/amalgamation.rs +++ b/openpgp/src/cert/amalgamation.rs @@ -1308,7 +1308,7 @@ impl<'a> ValidUserIDAmalgamation<'a> { /// [`ValidUserIDAmalgamation::attested_certifications`] to /// iterate over all attested certifications. /// - /// [`ValidUserIDAmalgamation::attested_certifications`]: ValidUserIDAmalgamation#method.attested_certifications() + /// [`ValidUserIDAmalgamation::attested_certifications`]: ValidUserIDAmalgamation#method.attested_certifications // The explicit link works around a bug in rustdoc. pub fn attestation_key_signatures(&'a self) -> impl Iterator<Item=&'a Signature> + Send + Sync @@ -1479,7 +1479,7 @@ impl<'a> ValidUserAttributeAmalgamation<'a> { /// [`ValidUserAttributeAmalgamation::attested_certifications`] to /// iterate over all attested certifications. /// - /// [`ValidUserAttributeAmalgamation::attested_certifications`]: ValidUserAttributeAmalgamation#method.attested_certifications() + /// [`ValidUserAttributeAmalgamation::attested_certifications`]: ValidUserAttributeAmalgamation#method.attested_certifications // The explicit link works around a bug in rustdoc. pub fn attestation_key_signatures(&'a self) -> impl Iterator<Item=&'a Signature> + Send + Sync diff --git a/openpgp/src/packet/key.rs b/openpgp/src/packet/key.rs index ccff1487..07fc9d2d 100644 --- a/openpgp/src/packet/key.rs +++ b/openpgp/src/packet/key.rs @@ -1342,8 +1342,6 @@ impl SecretKeyMaterial { /// This returns an error if the secret key material is encrypted. /// /// See [`Unencrypted::encrypt`] for details. - /// - /// [`Unencrypted::encrypt`]: Unencrypted#encrypt pub fn encrypt(mut self, password: &Password) -> Result<Self> { self.encrypt_in_place(password)?; Ok(self) @@ -1354,8 +1352,6 @@ impl SecretKeyMaterial { /// This returns an error if the secret key material is encrypted. /// /// See [`Unencrypted::encrypt`] for details. - /// - /// [`Unencrypted::encrypt`]: Unencrypted#encrypt pub fn encrypt_in_place(&mut self, password: &Password) -> Result<()> { match self { SecretKeyMaterial::Unencrypted(ref u) => { diff --git a/openpgp/src/packet/mod.rs b/openpgp/src/packet/mod.rs index 7de9b603..7cb2da76 100644 --- a/openpgp/src/packet/mod.rs +++ b/openpgp/src/packet/mod.rs @@ -697,7 +697,7 @@ impl<'a> Iter<'a> { /// See [`PacketPile::path_ref`] for an explanation of /// `pathspec`s. /// - /// [`PacketPile::path_ref`]: super::PacketPile#path_ref + /// [`PacketPile::path_ref`]: super::PacketPile::path_ref /// /// # Examples /// diff --git a/openpgp/src/packet/tag.rs b/openpgp/src/packet/tag.rs index c15c51c4..ba3e98d8 100644 --- a/openpgp/src/packet/tag.rs +++ b/openpgp/src/packet/tag.rs @@ -52,7 +52,7 @@ pub enum Tag { MDC, /// AEAD Encrypted Data Packet. /// - /// This feature is [experimental](super#experimental-features). + /// This feature is [experimental](crate#experimental-features). AED, /// Unassigned packets (as of RFC4880). Unknown(u8), |