diff options
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/cert/builder/key.rs | 2 | ||||
-rw-r--r-- | openpgp/src/regex/mod.rs | 4 |
2 files changed, 3 insertions, 3 deletions
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 { |