Skip to content

Commit cd42614

Browse files
committed
Don't require S: GcDeserialize for IndexMap
1 parent 30324b2 commit cd42614

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/manually_traced/indexmap.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ unsafe_gc_impl! {
1212
TraceImmutable => { where K: TraceImmutable, V: TraceImmutable, S: 'static },
1313
TrustedDrop => { where K: TrustedDrop, V: TrustedDrop, S: 'static },
1414
GcSafe => { where K: GcSafe<'gc, Id>, V: GcSafe<'gc, Id>, S: 'static },
15+
GcDeserialize => { where K: GcDeserialize<'gc, 'de, Id>, V: GcDeserialize<'gc, 'de, Id>, S: 'static }
1516
},
1617
null_trace => { where K: NullTrace, V: NullTrace },
1718
NEEDS_TRACE => K::NEEDS_TRACE || V::NEEDS_TRACE,
@@ -46,6 +47,7 @@ unsafe_gc_impl! {
4647
TraceImmutable => { where T: TraceImmutable, S: 'static },
4748
TrustedDrop => { where T: TrustedDrop, S: 'static },
4849
GcSafe => { where T: GcSafe<'gc, Id>, S: 'static },
50+
GcDeserialize => { where K: GcDeserialize<'gc, 'de, Id>, V: GcDeserialize<'gc, 'de, Id>, S: 'static },
4951
},
5052
NEEDS_TRACE => T::NEEDS_TRACE,
5153
NEEDS_DROP => true, // Internal memory

0 commit comments

Comments
 (0)