Skip to content

Commit c48caa3

Browse files
committed
style(error): satisfy clippy
1 parent e1b3444 commit c48caa3

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
@@ -97,7 +97,7 @@ impl de::Error for Error {
9797

9898
impl From<Error> for io::Error {
9999
fn from(error: Error) -> Self {
100-
io::Error::new(io::ErrorKind::Other, error)
100+
io::Error::other(error)
101101
}
102102
}
103103

0 commit comments

Comments
 (0)