summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-01-05 23:42:29 +0100
committerNeal H. Walfield <neal@pep.foundation>2023-01-06 10:00:30 +0100
commite83bf2fd83f5345307d2acf97a5000a8392f182b (patch)
tree4e30f684ad8fc1ddb5698179c9dd208485d887d2
parentb7e1b0e5a23923bce97f91fdab16a32d80453876 (diff)
openpgp: Fix typos found by codespell
These are typos in comments only.
-rw-r--r--openpgp/src/packet/pkesk.rs2
-rw-r--r--openpgp/src/types/mod.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/packet/pkesk.rs b/openpgp/src/packet/pkesk.rs
index ff29ca65..b6baa0a2 100644
--- a/openpgp/src/packet/pkesk.rs
+++ b/openpgp/src/packet/pkesk.rs
@@ -56,7 +56,7 @@ impl PKESK3 {
})
}
- /// Creates a new PKESK3 packet for the given recipent.
+ /// Creates a new PKESK3 packet for the given recipient.
///
/// The given symmetric algorithm must match the algorithm that is
/// used to encrypt the payload.
diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs
index eb57f440..50459a16 100644
--- a/openpgp/src/types/mod.rs
+++ b/openpgp/src/types/mod.rs
@@ -1701,8 +1701,8 @@ impl Arbitrary for ReasonForRevocation {
/// or soft.
///
/// A hard revocation is a revocation that indicates that the key was
-/// somehow compromised, and the provence of *all* artifacts should be
-/// called into question.
+/// somehow compromised, and the provenance of *all* artifacts should
+/// be called into question.
///
/// A soft revocation is a revocation that indicates that the key
/// should be considered invalid *after* the revocation signature's