From c4b035a8a0cd6814fe79ce1d931b4c2650f51447 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Mon, 29 Apr 2024 10:09:12 +0200 Subject: [PATCH] Remove an attribute --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b42b16f..0cb1d80 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -181,7 +181,6 @@ impl core::io::Write for Context { } /// Compute the digest of data. -#[allow(clippy::needless_range_loop)] pub fn compute>(data: T) -> Digest { let (state, buffer, cursor, length) = consume(STATE, [0; 64], 0, 0, data.as_ref()); finalize(state, buffer, cursor, length)