File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
13
13
14
14
## Changed
15
15
- The minimum Rust version has been bumped to 1.49.0. (#230 )
16
+ - Updated ` ahash ` dependency to 0.7. (#241 )
16
17
17
18
## [ v0.10.0] - 2021-01-16
18
19
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ edition = "2018"
13
13
14
14
[dependencies ]
15
15
# For the default hasher
16
- ahash = { version = " 0.6.1 " , default-features = false , optional = true }
16
+ ahash = { version = " 0.7.0 " , default-features = false , optional = true }
17
17
18
18
# For external trait impls
19
19
rayon = { version = " 1.0" , optional = true }
Original file line number Diff line number Diff line change @@ -255,8 +255,7 @@ where
255
255
{
256
256
//This enables specialization to improve performance on primitive types
257
257
use ahash:: CallHasher ;
258
- let state = hash_builder. build_hasher ( ) ;
259
- Q :: get_hash ( val, state)
258
+ Q :: get_hash ( val, hash_builder)
260
259
}
261
260
#[ cfg( not( feature = "ahash" ) ) ]
262
261
{
@@ -277,8 +276,7 @@ where
277
276
{
278
277
//This enables specialization to improve performance on primitive types
279
278
use ahash:: CallHasher ;
280
- let state = hash_builder. build_hasher ( ) ;
281
- K :: get_hash ( val, state)
279
+ K :: get_hash ( val, hash_builder)
282
280
}
283
281
#[ cfg( not( feature = "ahash" ) ) ]
284
282
{
You can’t perform that action at this time.
0 commit comments