summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kjäll <alexander.kjall@gmail.com>2021-11-21 10:17:04 +0100
committerAlexander Kjäll <alexander.kjall@gmail.com>2021-11-21 10:17:04 +0100
commitbda3d4679d69639eee03b52baebe86ba5b1c4479 (patch)
tree3341b64f13fd596264288d72d66c66ca6ab607be
parent665efe714ecfd8a7b40316fa45760f665bae526f (diff)
a missed negation flips the meaning of the documentation for KeyHandle::is_invalid
-rw-r--r--openpgp/src/keyhandle.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/keyhandle.rs b/openpgp/src/keyhandle.rs
index 36fc1703..5e6dc3d8 100644
--- a/openpgp/src/keyhandle.rs
+++ b/openpgp/src/keyhandle.rs
@@ -300,7 +300,7 @@ impl KeyHandle {
/// Returns whether the KeyHandle is invalid.
///
/// A KeyHandle is invalid if the `Fingerprint` or `KeyID` that it
- /// contains is valid.
+ /// contains is invalid.
///
/// ```
/// use sequoia_openpgp as openpgp;