summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/userid/mod.rs
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-11-18 05:31:19 +0800
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-11-18 05:31:19 +0800
commit465e206bfe2ab6cdcdf455a24fcac653998f98e8 (patch)
treed0f238c3af2b73305987ce82c3c208b9eeb13e68 /openpgp/src/packet/userid/mod.rs
parentdeb1a7162bc7bf24a1ea2244e0a2aa56936e3225 (diff)
Fix more spelling
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'openpgp/src/packet/userid/mod.rs')
-rw-r--r--openpgp/src/packet/userid/mod.rs4
1 files changed, 2 insertions, 2 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());