Skip to content

Commit 83597d3

Browse files
author
Tommaso Checchi
committed
Added A to Serialize
1 parent b2190e2 commit 83597d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/external_trait_impls/serde.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ mod map {
2121

2222
use super::size_hint;
2323

24-
impl<K, V, H> Serialize for HashMap<K, V, H>
24+
impl<K, V, H, A> Serialize for HashMap<K, V, H, A>
2525
where
2626
K: Serialize + Eq + Hash,
2727
V: Serialize,
2828
H: BuildHasher,
29+
A: crate::raw::Allocator + Clone,
2930
{
3031
#[cfg_attr(feature = "inline-more", inline)]
3132
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>

0 commit comments

Comments
 (0)