diff --git a/src/error.rs b/src/error.rs index 95d71da..ce8a654 100644 --- a/src/error.rs +++ b/src/error.rs @@ -539,3 +539,9 @@ impl From for Error { panic!("INFALLIBLE") } } + +impl From for std::io::Error { + fn from(e: Error) -> std::io::Error { + std::io::Error::other(e) + } +}