diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-08-24 12:54:16 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-08-27 12:58:07 +0200 |
commit | 83e6668ed4b5692a0a52174031f99c1e76726f77 (patch) | |
tree | 14f455534e38c79df895d8abf9dac424fe3bbce0 /openpgp/src/crypto/mpi.rs | |
parent | e5746684e84377dd8828f6a5a8ab4c0eec73c3ec (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/crypto/mpi.rs')
-rw-r--r-- | openpgp/src/crypto/mpi.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/crypto/mpi.rs b/openpgp/src/crypto/mpi.rs index 50e42128..ae7e9b1b 100644 --- a/openpgp/src/crypto/mpi.rs +++ b/openpgp/src/crypto/mpi.rs @@ -432,7 +432,7 @@ impl fmt::Debug for ProtectedMPI { /// Provides a typed and structured way of storing multiple MPIs (and /// the occasional elliptic curve) in [`Key`] packets. /// -/// [`Key`]: super::super::packet::Key +/// [`Key`]: crate::packet::Key /// /// Note: This enum cannot be exhaustively matched to allow future /// extensions. @@ -605,7 +605,7 @@ impl Arbitrary for PublicKey { /// [`Key`] packets. Secret key components are protected by storing /// them using [`ProtectedMPI`]. /// -/// [`Key`]: super::super::packet::Key +/// [`Key`]: crate::packet::Key /// /// Note: This enum cannot be exhaustively matched to allow future /// extensions. @@ -879,7 +879,7 @@ impl Default for SecretKeyChecksum { /// Provides a typed and structured way of storing multiple MPIs in /// [`PKESK`] packets. /// -/// [`PKESK`]: super::super::packet::PKESK +/// [`PKESK`]: crate::packet::PKESK /// /// Note: This enum cannot be exhaustively matched to allow future /// extensions. @@ -974,7 +974,7 @@ impl Arbitrary for Ciphertext { /// Provides a typed and structured way of storing multiple MPIs in /// [`Signature`] packets. /// -/// [`Signature`]: super::super::packet::Signature +/// [`Signature`]: crate::packet::Signature /// /// Note: This enum cannot be exhaustively matched to allow future /// extensions. |