diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2022-09-05 13:48:45 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2022-09-06 11:05:11 +0200 |
commit | 31b380c768052f22fb747c5e4aa3d2b5ef3810f0 (patch) | |
tree | e9421a248f781f04256548b7ac377c4b2f658859 | |
parent | c4e6642f01ff45bfa4eea027b31c5418bfebb8b3 (diff) |
openpgp: Fix typos spotted by codespell.
-rw-r--r-- | openpgp/examples/reply-encrypted.rs | 2 | ||||
-rw-r--r-- | openpgp/src/cert/builder/key.rs | 2 | ||||
-rw-r--r-- | openpgp/src/regex/mod.rs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/examples/reply-encrypted.rs b/openpgp/examples/reply-encrypted.rs index f0ed293c..b0d521c5 100644 --- a/openpgp/examples/reply-encrypted.rs +++ b/openpgp/examples/reply-encrypted.rs @@ -1,4 +1,4 @@ -//! Demonstates how to reply to an encrypted message without having +//! Demonstrates how to reply to an encrypted message without having //! everyone's certs. //! //! This example demonstrates how to fall back to the original diff --git a/openpgp/src/cert/builder/key.rs b/openpgp/src/cert/builder/key.rs index e23e463a..50ba3229 100644 --- a/openpgp/src/cert/builder/key.rs +++ b/openpgp/src/cert/builder/key.rs @@ -140,7 +140,7 @@ impl KeyBuilder { /// the key is immediately transferred to another computer and its /// clock is not quite synchronized, the key may appear to have /// been created in the future and will thus be ignored. Although - /// NTP is widely used, emperically it seems that some virtual + /// NTP is widely used, empirically it seems that some virtual /// machines have laggy clocks. pub fn subkey(self, vc: ValidCert) -> Result<SubkeyBuilder<'_>> { let mut key: Key<key::SecretParts, key::SubordinateRole> diff --git a/openpgp/src/regex/mod.rs b/openpgp/src/regex/mod.rs index e2176952..6c102797 100644 --- a/openpgp/src/regex/mod.rs +++ b/openpgp/src/regex/mod.rs @@ -6,7 +6,7 @@ //! [regular expression language]: https://tools.ietf.org/html/rfc4880#section-8 //! [trust signatures]: https://tools.ietf.org/html/rfc4880#section-5.2.3.13 //! -//! Compared with most regular expression lanugages, OpenPGP's is +//! Compared with most regular expression languages, OpenPGP's is //! quite simple. In particular, it only includes the following //! features: //! @@ -869,7 +869,7 @@ impl RegexSet { /// /// This can be used to optimize the evaluation of scoping rules /// along a path: if a `RegexSet` matches everything, then it - /// doesn't further contrain the path. + /// doesn't further constrain the path. pub fn everything() -> Result<Self> { Ok(Self { |