From 5a2e36df8c88bcf543593e75c38f839f9d8fa92c Mon Sep 17 00:00:00 2001
From: Ryan Levick <ryan.levick@gmail.com>
Date: Wed, 9 Sep 2020 15:43:18 +0200
Subject: [PATCH] Reintroduce error impl

---
 src/result.rs | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/result.rs b/src/result.rs
index 41783cb9..07d6a5b9 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -34,3 +34,9 @@ pub enum ZipError {
     #[error("invalid password for file in archive")]
     InvalidPassword,
 }
+
+impl From<ZipError> for io::Error {
+    fn from(err: ZipError) -> io::Error {
+        io::Error::new(io::ErrorKind::Other, err)
+    }
+}