summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-06-26 10:20:00 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-06-26 10:20:00 +0200
commit16553c8bd46f16811691bb0f657e0ee6593697ef (patch)
tree0359c8c747b1088423762ed67805503d9ee751f1 /openpgp/src/parse
parentc301970937cb5fb5e2b831ce8fdcde5e2267f343 (diff)
openpgp: Fix warnings.
- rustc now understands exhaustive matches on integers.
Diffstat (limited to 'openpgp/src/parse')
-rw-r--r--openpgp/src/parse/parse.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/openpgp/src/parse/parse.rs b/openpgp/src/parse/parse.rs
index a14d6420..9d05bc66 100644
--- a/openpgp/src/parse/parse.rs
+++ b/openpgp/src/parse/parse.rs
@@ -1376,7 +1376,6 @@ impl Key4 {
255 => {
return php.fail("unsupported secret key encryption");
}
- _ => unreachable!()
};
Some(sec)