Skip to content

Commit

Permalink
Fix missing inline attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed Nov 18, 2023
1 parent c1e787c commit 1230072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gxhash"
authors = ["Olivier Giniaux"]
version = "2.2.0"
version = "2.2.1"
edition = "2021"
description = "GxHash non-cryptographic algorithm"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl Default for GxBuildHasher {

impl BuildHasher for GxBuildHasher {
type Hasher = GxHasher;

#[inline]
fn build_hasher(&self) -> GxHasher {
GxHasher::with_seed(self.0)
}
Expand Down

0 comments on commit 1230072

Please sign in to comment.