Skip to content

Commit 7d4af07

Browse files
committed
lint
1 parent 43b318a commit 7d4af07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl From<EncodingError> for std::io::Error {
8787
EncodingErrorKind::InvalidData => {
8888
std::io::Error::new(std::io::ErrorKind::InvalidData, format!("{e}"))
8989
}
90-
_ => std::io::Error::new(std::io::ErrorKind::Other, format!("{e}")),
90+
_ => std::io::Error::other(format!("{e}")),
9191
}
9292
}
9393
}

0 commit comments

Comments
 (0)