We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b318a commit 7d4af07Copy full SHA for 7d4af07
src/error.rs
@@ -87,7 +87,7 @@ impl From<EncodingError> for std::io::Error {
87
EncodingErrorKind::InvalidData => {
88
std::io::Error::new(std::io::ErrorKind::InvalidData, format!("{e}"))
89
}
90
- _ => std::io::Error::new(std::io::ErrorKind::Other, format!("{e}")),
+ _ => std::io::Error::other(format!("{e}")),
91
92
93
0 commit comments