summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-05 17:02:23 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-09 11:52:38 +0100
commit7546d5bdee68f3484211808e8e66002b56d29ac7 (patch)
tree3eba039bc98f7e82c4f396bec86dbe4eb9706818 /openpgp-ffi/src
parenta206235113bdb10e0d971c83f070dcf83875c47e (diff)
Reduce use of explicit failure::Fallible.
Diffstat (limited to 'openpgp-ffi/src')
-rw-r--r--openpgp-ffi/src/parse/stream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs
index 3c35f435..eb2d28fe 100644
--- a/openpgp-ffi/src/parse/stream.rs
+++ b/openpgp-ffi/src/parse/stream.rs
@@ -797,7 +797,7 @@ impl VerificationHelper for DHelper {
}
impl DecryptionHelper for DHelper {
- fn inspect(&mut self, pp: &PacketParser) -> failure::Fallible<()> {
+ fn inspect(&mut self, pp: &PacketParser) -> openpgp::Result<()> {
if let Some(cb) = self.inspect_cb {
match cb(self.vhelper.cookie, pp) {
Status::Success => Ok(()),