diff options
Diffstat (limited to 'openpgp/examples/encrypt-for.rs')
-rw-r--r-- | openpgp/examples/encrypt-for.rs | 2 |
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), }; |