Skip to content

Commit 80c141d

Browse files
committed
chore: fix clippy warning for io error
1 parent ccdc104 commit 80c141d

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
@@ -56,7 +56,7 @@ pub(crate) fn unsigned_varint_to_multihash_error(err: unsigned_varint::io::ReadE
5656
unsigned_varint::io::ReadError::Decode(err) => Error {
5757
kind: Kind::Varint(err),
5858
},
59-
other => io_to_multihash_error(io::Error::new(io::ErrorKind::Other, other)),
59+
other => io_to_multihash_error(io::Error::other(other)),
6060
}
6161
}
6262

0 commit comments

Comments
 (0)