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 ccdc104 commit 80c141dCopy full SHA for 80c141d
src/error.rs
@@ -56,7 +56,7 @@ pub(crate) fn unsigned_varint_to_multihash_error(err: unsigned_varint::io::ReadE
56
unsigned_varint::io::ReadError::Decode(err) => Error {
57
kind: Kind::Varint(err),
58
},
59
- other => io_to_multihash_error(io::Error::new(io::ErrorKind::Other, other)),
+ other => io_to_multihash_error(io::Error::other(other)),
60
}
61
62
0 commit comments