diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-10-06 13:54:34 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-10-11 14:54:59 +0200 |
commit | c8f6d996165e0ba4275b2f6ffde25003f2369d78 (patch) | |
tree | ea581d380c90b4a1ff04272fd6d5cfcbcf5eb42f | |
parent | 3a58f25cec000cad4c88de1c3ff1d6b995b292d6 (diff) |
openpgp: Use fragment syntax.
- cargo deadlinks does not like name="foo" anchors, but id="foo"
fragments are fine. Functionally, there is no difference for the
site's user.
-rw-r--r-- | openpgp/src/crypto/hash.rs | 6 | ||||
-rw-r--r-- | openpgp/src/packet/signature.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/crypto/hash.rs b/openpgp/src/crypto/hash.rs index ea1abe25..10ed9787 100644 --- a/openpgp/src/crypto/hash.rs +++ b/openpgp/src/crypto/hash.rs @@ -379,7 +379,7 @@ impl Hash for signature::SignatureFields { /// Hashing-related functionality. /// -/// <a name="hashing-functions"></a> +/// <a id="hashing-functions"></a> impl signature::SignatureFields { /// Hashes this standalone signature. pub fn hash_standalone(&self, hash: &mut dyn Digest) @@ -457,7 +457,7 @@ impl signature::SignatureFields { /// Hashing-related functionality. /// -/// <a name="hashing-functions"></a> +/// <a id="hashing-functions"></a> impl Signature { /// Hashes this signature for use in a Third-Party Confirmation /// signature. @@ -470,7 +470,7 @@ impl Signature { /// Hashing-related functionality. /// -/// <a name="hashing-functions"></a> +/// <a id="hashing-functions"></a> impl Signature4 { /// Hashes this signature for use in a Third-Party Confirmation /// signature. diff --git a/openpgp/src/packet/signature.rs b/openpgp/src/packet/signature.rs index 359ea7a5..aa19c130 100644 --- a/openpgp/src/packet/signature.rs +++ b/openpgp/src/packet/signature.rs @@ -2357,7 +2357,7 @@ impl crate::packet::Signature { /// Verification-related functionality. /// -/// <a name="verification-functions"></a> +/// <a id="verification-functions"></a> impl Signature { /// Verifies the signature against `hash`. /// |