diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-11-18 05:31:19 +0800 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-11-18 05:31:19 +0800 |
commit | 465e206bfe2ab6cdcdf455a24fcac653998f98e8 (patch) | |
tree | d0f238c3af2b73305987ce82c3c208b9eeb13e68 /openpgp | |
parent | deb1a7162bc7bf24a1ea2244e0a2aa56936e3225 (diff) |
Fix more spelling
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'openpgp')
-rw-r--r-- | openpgp/src/packet/userid/mod.rs | 4 | ||||
-rw-r--r-- | openpgp/src/tpk/parser/low_level/grammar.lalrpop | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openpgp/src/packet/userid/mod.rs b/openpgp/src/packet/userid/mod.rs index 6f7bc62c..b4ed1432 100644 --- a/openpgp/src/packet/userid/mod.rs +++ b/openpgp/src/packet/userid/mod.rs @@ -782,7 +782,7 @@ mod tests { g &= c("Foo (Bar (Baz)", Some("Foo (Bar"), Some("Baz"), None); - // Make sure whitespace is stipped. + // Make sure whitespace is stripped. g &= c(" Name Last ( some comment ) <name@example.org>", Some("Name Last"), Some("some comment"), Some("name@example.org")); @@ -818,7 +818,7 @@ mod tests { // Make sure we can't parse non conventional User IDs. #[test] fn decompose_non_conventional() { - // Emptry string is not allowed. + // Empty string is not allowed. assert!(ConventionallyParsedUserID::new("").is_err()); // Likewise, only whitespace. assert!(ConventionallyParsedUserID::new(" ").is_err()); diff --git a/openpgp/src/tpk/parser/low_level/grammar.lalrpop b/openpgp/src/tpk/parser/low_level/grammar.lalrpop index 1f22ac17..e60af12e 100644 --- a/openpgp/src/tpk/parser/low_level/grammar.lalrpop +++ b/openpgp/src/tpk/parser/low_level/grammar.lalrpop @@ -132,7 +132,7 @@ OptionalSignatures: Option<Vec<Signature>> = { } }, - // A trust packet can go whereever a signature can go, but they + // A trust packet can go wherever a signature can go, but they // are ignored. <OptionalSignatures> TRUST, } |