Skip to content

Commit b1e8102

Browse files
committed
Extend GcIndexMap::context to 'gc
1 parent b36f7e9 commit b1e8102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hash_map/indexmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl<'gc, K: GcSafe<'gc, Id>, V: GcSafe<'gc, Id>, Id: SimpleAllocCollectorId, S:
198198
///
199199
/// See also: [GcVec::context]
200200
#[inline]
201-
pub fn context(&self) -> &'_ Id::Context {
201+
pub fn context(&self) -> &'gc Id::Context {
202202
self.entries.context()
203203
}
204204
}

0 commit comments

Comments
 (0)