We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hash_table::OccupiedEntry
1 parent b31e883 commit 142e536Copy full SHA for 142e536
src/table.rs
@@ -1432,6 +1432,19 @@ where
1432
table: &'a mut RawTable<T, A>,
1433
}
1434
1435
+unsafe impl<T, A> Send for OccupiedEntry<'_, T, A>
1436
+where
1437
+ T: Send,
1438
+ A: Send + Allocator,
1439
+{
1440
+}
1441
+unsafe impl<T, A> Sync for OccupiedEntry<'_, T, A>
1442
1443
+ T: Sync,
1444
+ A: Sync + Allocator,
1445
1446
1447
+
1448
impl<T: fmt::Debug, A: Allocator> fmt::Debug for OccupiedEntry<'_, T, A> {
1449
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
1450
f.debug_struct("OccupiedEntry")
0 commit comments