diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-03-05 17:02:23 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-03-09 11:52:38 +0100 |
commit | 7546d5bdee68f3484211808e8e66002b56d29ac7 (patch) | |
tree | 3eba039bc98f7e82c4f396bec86dbe4eb9706818 /ipc/examples | |
parent | a206235113bdb10e0d971c83f070dcf83875c47e (diff) |
Reduce use of explicit failure::Fallible.
Diffstat (limited to 'ipc/examples')
-rw-r--r-- | ipc/examples/gpg-agent-decrypt.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/examples/gpg-agent-decrypt.rs b/ipc/examples/gpg-agent-decrypt.rs index c467f4b0..f2ba2903 100644 --- a/ipc/examples/gpg-agent-decrypt.rs +++ b/ipc/examples/gpg-agent-decrypt.rs @@ -122,11 +122,11 @@ impl<'a> DecryptionHelper for Helper<'a> { impl<'a> VerificationHelper for Helper<'a> { fn get_public_keys(&mut self, _ids: &[openpgp::KeyHandle]) - -> failure::Fallible<Vec<openpgp::Cert>> { + -> openpgp::Result<Vec<openpgp::Cert>> { Ok(Vec::new()) // Feed the Certs to the verifier here. } fn check(&mut self, structure: MessageStructure) - -> failure::Fallible<()> { + -> openpgp::Result<()> { use self::VerificationError::*; for layer in structure.iter() { match layer { |