From 31b380c768052f22fb747c5e4aa3d2b5ef3810f0 Mon Sep 17 00:00:00 2001 From: Wiktor Kwapisiewicz Date: Mon, 5 Sep 2022 13:48:45 +0200 Subject: openpgp: Fix typos spotted by codespell. --- openpgp/examples/reply-encrypted.rs | 2 +- openpgp/src/cert/builder/key.rs | 2 +- openpgp/src/regex/mod.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'openpgp') 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> { let mut key: Key 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 { Ok(Self { -- cgit v1.2.3