Skip to content

Commit 04baaf6

Browse files
authored
fix(clippy): default hasher for ArrayKey (#608)
1 parent 146e92e commit 04baaf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/types/array/conversions/hash_map.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ where
6666
}
6767
}
6868

69-
impl<'a, V> FromZval<'a> for HashMap<ArrayKey<'a>, V>
69+
impl<'a, V, H> FromZval<'a> for HashMap<ArrayKey<'a>, V, H>
7070
where
7171
V: FromZval<'a>,
72+
H: BuildHasher + Default,
7273
{
7374
const TYPE: DataType = DataType::Array;
7475

0 commit comments

Comments
 (0)