Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/lib.rs:27:1: 38:2 error: not all control paths return a value [E0269]
- src/lib.rs:27 pub fn multihash(wanthash: hashtypes, input: Vec<u8>) -> Result<Vec<u8>, String> {
- src/lib.rs:28 let ssl_hash: Option<Type> = match wanthash {
- src/lib.rs:29 hashtypes::sha1 => Some(Type::SHA1),
- src/lib.rs:30 hashtypes::sha2_256 => Some(Type::SHA256),
- src/lib.rs:31 hashtypes::sha2_512 => Some(Type::SHA512),
- src/lib.rs:32 _ => None,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement