1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-10 21:06:03 +02:00

Update lib.rs

This commit is contained in:
P.M 2021-03-22 15:46:00 +02:00 committed by GitHub
parent 9ef2f4d9a8
commit bf42932833
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@
#[cfg(test)]
mod test;
// The guts module is for incremental use cases like the `bao` crate that need
// The guts module is for incremental use cases like the `bao` crate that needs
// to explicitly compute chunk and parent chaining values. It is semi-stable
// and likely to keep working, but largely undocumented and not intended for
// widespread use.
@ -209,7 +209,7 @@ pub struct Hash([u8; OUT_LEN]);
impl Hash {
/// The raw bytes of the `Hash`. Note that byte arrays don't provide
/// constant-time equality checking, so if you need to compare hashes,
/// constant-time equality checking, so if you need to compare hashes,
/// prefer the `Hash` type.
#[inline]
pub fn as_bytes(&self) -> &[u8; OUT_LEN] {