diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/src/keygrip.rs | 2 | ||||
-rw-r--r-- | ipc/src/sexp.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipc/src/keygrip.rs b/ipc/src/keygrip.rs index c6d01eeb..148c11d7 100644 --- a/ipc/src/keygrip.rs +++ b/ipc/src/keygrip.rs @@ -174,7 +174,7 @@ impl Keygrip { "Keygrip not defined for this kind of public key".into()) .into()), - __Nonexhaustive => unreachable!(), + &_ => unreachable!(), // Ciphertext is non-exhaustive. } let mut digest = [0; 20]; diff --git a/ipc/src/sexp.rs b/ipc/src/sexp.rs index ee376f61..1ca36a04 100644 --- a/ipc/src/sexp.rs +++ b/ipc/src/sexp.rs @@ -294,7 +294,7 @@ impl TryFrom<&mpi::Ciphertext> for Sexp { format!("Don't know how to convert {:?}", ciphertext)) .into()), - __Nonexhaustive => unreachable!(), + &_ => unreachable!(), // Ciphertext is non-exhaustive. } } } |