summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-03-02 11:47:09 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-03-02 11:54:11 +0100
commit0201c6e6e5bb0ee6b1aed26e92d769675db63d96 (patch)
treea532d4b17f93d7d86bfa1c315973bd4d0127e01d
parent43eab70f6a22b62ce0577e929e09f1d68cea80a8 (diff)
openpgp: Fix documentation.
-rw-r--r--openpgp/src/keyid.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/keyid.rs b/openpgp/src/keyid.rs
index 9c2e4842..fa4ee314 100644
--- a/openpgp/src/keyid.rs
+++ b/openpgp/src/keyid.rs
@@ -29,7 +29,7 @@ use crate::Result;
/// In previous versions of OpenPGP, the Key ID used to be called
/// "long Key ID", as there even was a "short Key ID". At only 4 bytes
/// length, short Key IDs vulnerable to preimage attacks. That is, an
-/// attacker can create a key with any given short key ID in short
+/// attacker can create a key with any given short Key ID in short
/// amount of time.
///
/// See also [`Fingerprint`] and [`KeyHandle`].
@@ -357,11 +357,11 @@ impl KeyID {
&KeyID::Invalid(ref fp) => &fp[..],
};
- // We currently only handle V4 key IDs, which look like:
+ // We currently only handle V4 Key IDs, which look like:
//
// AACB 3243 6300 52D9
//
- // Since we have no idea how to format an invalid key ID, just
+ // Since we have no idea how to format an invalid Key ID, just
// format it like a V4 fingerprint and hope for the best.
let mut output = Vec::with_capacity(