Skip to content

Commit 4ad4ab4

Browse files
committed
Update to hashbrown 0.9
1 parent e6bb0eb commit 4ad4ab4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## [0.6.0]
2-
- API incompatible change: depend on hashbrown 0.8, re-export renamed
2+
- API incompatible change: depend on hashbrown 0.9, re-export renamed
33
hashbrown::TryReserveError type.
44
- Adjust trait bounds for LinkedHashMap::retain, LinkedHashSet::default to be
55
less strict (to match hashbrown)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ circle-ci = { repository = "kyren/hashlink", branch = "master" }
1717
serde_impl = ["serde"]
1818

1919
[dependencies]
20-
hashbrown = "0.8.0"
20+
hashbrown = "0.9.0"
2121
serde = { version = "1.0", optional = true }
2222

2323
[dev-dependencies]

src/linked_hash_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ impl<'a, K, V, S> RawEntryMut<'a, K, V, S> {
10281028
pub struct RawOccupiedEntryMut<'a, K, V> {
10291029
free: &'a mut Option<NonNull<Node<K, V>>>,
10301030
values: &'a mut Option<NonNull<Node<K, V>>>,
1031-
entry: hash_map::RawOccupiedEntryMut<'a, NonNull<Node<K, V>>, ()>,
1031+
entry: hash_map::RawOccupiedEntryMut<'a, NonNull<Node<K, V>>, (), NullHasher>,
10321032
}
10331033

10341034
impl<'a, K, V> RawOccupiedEntryMut<'a, K, V> {

0 commit comments

Comments
 (0)