Skip to content

Commit

Permalink
Remove allow(dead_code) now that fxhash_32 is being used
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Jan 18, 2022
1 parent ea966a6 commit aaf85e0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion provider/core/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit aaf85e0

Please sign in to comment.