Skip to content

Commit

Permalink
fix unused function argument warning
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp committed May 18, 2024
1 parent 4f6be25 commit e07b577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl Hasher for FxHasher {

#[cfg(feature = "nightly")]
#[inline]
fn write_length_prefix(&mut self, len: usize) {
fn write_length_prefix(&mut self, _len: usize) {
// Most cases will specialize hash_slice anyway which calls write(),
// which encodes the length already.
}
Expand Down

0 comments on commit e07b577

Please sign in to comment.