fn to_fixed_32(bytes: std::vec::Vec<u8>) -> [u8; 32] {
    let mut array = [0; 32];
    let bytes = &bytes[..array.len()];
    array.copy_from_slice(bytes);
    array
}
/// Convert a properly-sized vector to a fixed array of 32 bytes.
Convert a properly-sized vector to a fixed array of 32 bytes.
Convert a properly - sized vector to a fixed array of 32 bytes .
fn to_fixed_32(bytes: std::vec::Vec<u8>) -> [u8; 32] {
    let mut array = [0; 32];
    let bytes = &bytes[..array.len()];
    array.copy_from_slice(bytes);
    array
}
fn to_fixed_32 ( bytes : std :: vec :: Vec < u8 > ) -> [ u8 ; 32 ] { let mut array = [ 0 ; 32 ] ; let bytes = & bytes [ .. array . len ( ) ] ; array . copy_from_slice ( bytes ) ; array }
Convert a properly-sized vector to a fixed array of 32 bytes.
Convert a properly - sized vector to a fixed array of 32 bytes .
bytes
std::vec::Vec<u8>
bytes
std::vec::Vec<u8>