Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, for code that doesn't attempt to recover from errors but just reports the error to the caller, it's forced to return the entire `IntoInnerError` even if all one wants is the I/O error. This commit adds `IntoInnerError::into_error` method that consumes `IntoInnerError` and returns contained `io::Error`. This mirrors the API of `std::io::IntoInnerError` in Rust stdlib, which provides such method. PR #304
- Loading branch information