You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the API of MerkleHash::hash_byte_vectors and simple_hash_from_byte_vectors to accept &[impl AsRef<[u8]>] as an argument instead of only &[Vec<u8>]. This will allow consumers to hash borrowed data, avoiding unnecessary copies.
Description
Change the API of
MerkleHash::hash_byte_vectors
andsimple_hash_from_byte_vectors
to accept&[impl AsRef<[u8]>]
as an argument instead of only&[Vec<u8>]
. This will allow consumers to hash borrowed data, avoiding unnecessary copies.Definition of "done"
The APIs of both functions have been updated.
The text was updated successfully, but these errors were encountered: