Skip to content

Commit

Permalink
Remove an attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Apr 29, 2024
1 parent c8d70cd commit c4b035a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ impl core::io::Write for Context {
}

/// Compute the digest of data.
#[allow(clippy::needless_range_loop)]
pub fn compute<T: AsRef<[u8]>>(data: T) -> Digest {
let (state, buffer, cursor, length) = consume(STATE, [0; 64], 0, 0, data.as_ref());
finalize(state, buffer, cursor, length)
Expand Down

0 comments on commit c4b035a

Please sign in to comment.