From aaf85e076be691062ea0df72139d7544bfcf4636 Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Tue, 18 Jan 2022 15:42:42 -0800 Subject: [PATCH] Remove allow(dead_code) now that fxhash_32 is being used --- provider/core/src/helpers.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/provider/core/src/helpers.rs b/provider/core/src/helpers.rs index 9cd9b0539b5..bf545546af9 100644 --- a/provider/core/src/helpers.rs +++ b/provider/core/src/helpers.rs @@ -92,7 +92,6 @@ fn test_escape_for_json() { /// 4. FxHash is designed to output 32-bit or 64-bit values, whereas SHA outputs more bits, /// such that truncation would be required in order to fit into a u32, partially reducing /// the benefit of a cryptographically secure algorithm -#[allow(dead_code)] pub const fn fxhash_32(bytes: &[u8]) -> u32 { // This code is adapted from https://github.com/rust-lang/rustc-hash, // whose license text is reproduced below.