Skip to content

Commit 0691908

Browse files
committed
Weaken TraceImmutable bound for deserialize IndexMap
1 parent 260b725 commit 0691908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ macro_rules! impl_for_set {
269269
impl_for_map!(HashMap<K, V, S> where K: TraceImmutable, S: 'static);
270270
impl_for_set!(HashSet<T, S> where T: TraceImmutable, S: 'static);
271271
#[cfg(feature = "indexmap")]
272-
impl_for_map!(IndexMap<K, V, S> where K: TraceImmutable, S: 'static);
272+
impl_for_map!(IndexMap<K, V, S> where K: GcSafe<'gc, Id>, S: 'static);
273273
#[cfg(feature = "indexmap")]
274274
impl_for_set!(IndexSet<T, S> where T: TraceImmutable, S: 'static);
275275

0 commit comments

Comments
 (0)