We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Result
1 parent d9aa346 commit 2bc4101Copy full SHA for 2bc4101
src/error.rs
@@ -47,6 +47,3 @@ impl From<unsigned_varint::io::ReadError> for Error {
47
}
48
49
50
-
51
-/// Multihash result.
52
-pub type Result<T> = core::result::Result<T, Error>;
src/lib.rs
@@ -61,7 +61,11 @@ mod error;
61
mod hasher;
62
mod multihash;
63
64
-pub use crate::error::{Error, Result};
+/// Multihash result.
65
+#[deprecated(note = "Use `Result<T, multihash::Error>` instead")]
66
+pub type Result<T> = core::result::Result<T, Error>;
67
+
68
+pub use crate::error::Error;
69
pub use crate::multihash::{Multihash, MultihashDigest};
70
pub use hasher::Hasher;
71
#[cfg(feature = "derive")]
0 commit comments