Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vivienm committed Nov 14, 2023
1 parent 8ac95ec commit f09f8d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ multiple-versions = "allow"
allow = [
"Apache-2.0",
"MIT",
"Zlib",
]

[[licenses.exceptions]]
Expand Down
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,7 @@ where
where
Q: Hash + ?Sized,
{
let mut hasher = self.build_hasher.build_hasher();
value.hash(&mut hasher);
hasher.finish()
self.build_hasher.hash_one(value)
}

/// Calculates the approximate number of different elements.
Expand Down

0 comments on commit f09f8d3

Please sign in to comment.