summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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