summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/signature.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/signature.rs')
-rw-r--r--openpgp/src/packet/signature.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/openpgp/src/packet/signature.rs b/openpgp/src/packet/signature.rs
index e2dea86d..24e79731 100644
--- a/openpgp/src/packet/signature.rs
+++ b/openpgp/src/packet/signature.rs
@@ -1586,7 +1586,6 @@ impl From<Signature> for SignatureBuilder {
fn from(sig: Signature) -> Self {
match sig {
Signature::V4(sig) => sig.into(),
- Signature::__Nonexhaustive => unreachable!(),
}
}
}
@@ -2185,7 +2184,6 @@ impl crate::packet::Signature {
| Private(_)
| Unknown(_)
=> true,
- __Nonexhaustive => unreachable!(),
}
}