summaryrefslogtreecommitdiffstats
path: root/openpgp/examples
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2018-07-11 10:58:51 +0200
committerNeal H. Walfield <neal@pep.foundation>2018-07-11 10:58:51 +0200
commiteabb7e1d6aa8bfff8bc6826ef6f69197803c21ef (patch)
tree9472f9da61bb33a88f0a865599cc8c8782a5b082 /openpgp/examples
parent6ba983b6d688b198d2bc05544eba3368a91ac35f (diff)
openpgp: Fix typo.
Diffstat (limited to 'openpgp/examples')
-rw-r--r--openpgp/examples/encrypt-for.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/encrypt-for.rs b/openpgp/examples/encrypt-for.rs
index 9e5c2cdf..f5b2932a 100644
--- a/openpgp/examples/encrypt-for.rs
+++ b/openpgp/examples/encrypt-for.rs
@@ -21,7 +21,7 @@ fn main() {
"at-rest" => EncryptionMode::AtRest,
"for-transport" => EncryptionMode::ForTransport,
x => panic!("invalid mode: {:?}, \
- must be either 'at rest' or 'for transport'",
+ must be either 'at-rest' or 'for-transport'",
x),
};