summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/amalgamation/key
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-08-24 12:54:16 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-08-27 12:58:07 +0200
commit83e6668ed4b5692a0a52174031f99c1e76726f77 (patch)
tree14f455534e38c79df895d8abf9dac424fe3bbce0 /openpgp/src/cert/amalgamation/key
parente5746684e84377dd8828f6a5a8ab4c0eec73c3ec (diff)
ffi, openpgp: Cleanup links after cargo intraconv.
- openpgp: Make broken relative links absolute: - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+packet),\1crate::packet,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+cert),\1crate::cert,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+parse),\1crate::parse,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+policy),\1crate::policy,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+serialize),\1crate::serialize,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+armor),\1crate::armor,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+types),\1crate::types,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!] *(\[`PacketPile`\]):).*$,\1 crate::PacketPile,' {} + - openpgp: Link to PacketParser and Policy structs, not the modules. - ffi: Make links to sequoia_openpgp and sequoia_net absolute - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+sequoia_openpgp),\1sequoia_openpgp,' {} + - find -name "*.rs" -exec sed -i -E 's,^( *//[/!](.*): )((super::)+sequoia_net),\1sequoia_net,' {} +
Diffstat (limited to 'openpgp/src/cert/amalgamation/key')
-rw-r--r--openpgp/src/cert/amalgamation/key/iter.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/cert/amalgamation/key/iter.rs b/openpgp/src/cert/amalgamation/key/iter.rs
index 7ff54abd..f23b1a15 100644
--- a/openpgp/src/cert/amalgamation/key/iter.rs
+++ b/openpgp/src/cert/amalgamation/key/iter.rs
@@ -44,8 +44,8 @@ use crate::{
///
/// A `KeyAmalgamationIter` is returned by [`Cert::keys`].
///
-/// [`ComponentAmalgamationIter`]: super::ComponentAmalgamationIter
-/// [module documentation]: self
+/// [`ComponentAmalgamationIter`]: super::super::ComponentAmalgamationIter
+/// [module documentation]: super
/// [`KeyAmalgamationIter::with_policy`]: super::ValidateAmalgamation
/// [`KeyAmalgamationIter::secret`]: KeyAmalgamationIter::secret()
/// [`KeyAmalgamationIter::unencrypted_secret`]: KeyAmalgamationIter::unencrypted_secret()
@@ -622,7 +622,7 @@ impl<'a, P, R> KeyAmalgamationIter<'a, P, R>
/// # }
/// ```
///
-/// [`Policy`]: super::super::super::policy::Policy
+/// [`Policy`]: crate::policy::Policy
/// [`ValidateAmalgamation`]: super::ValidateAmalgamation
/// [`ValidKeyAmalgamationIter::revoked`]: ValidKeyAmalgamationIter::revoked()
/// [`ValidKeyAmalgamationIter::alive`]: ValidKeyAmalgamationIter::alive()
@@ -1226,7 +1226,7 @@ impl<'a, P, R> ValidKeyAmalgamationIter<'a, P, R>
/// # Ok(()) }
/// ```
///
- /// [`key_alive`]: super::super::super::packet::signature::subpacket::SubpacketAreas::key_alive()
+ /// [`key_alive`]: crate::packet::signature::subpacket::SubpacketAreas::key_alive()
pub fn alive(mut self) -> Self
{
self.alive = Some(());