pub fn hash_from_str(hex_str: &str) -> Digest {
    (&checksummed_hex::decode(hex_str).unwrap()[..])
        .try_into()
        .unwrap()
}
/// Parses a Digest from a string. Panics if parsing fails.
Parses a Digest from a string. Panics if parsing fails.
Parses a Digest from a string . Panics if parsing fails .
pub fn hash_from_str(hex_str: &str) -> Digest {
    (&checksummed_hex::decode(hex_str).unwrap()[..])
        .try_into()
        .unwrap()
}
pub fn hash_from_str ( hex_str : & str ) -> Digest { ( & checksummed_hex :: decode ( hex_str ) . unwrap ( ) [ .. ] ) . try_into ( ) . unwrap ( ) }
Parses a Digest from a string.
Parses a Digest from a string .
hex_str
&str
hex_str
&str