Skip to content

Commit 524c3ff

Browse files
Remove Sync and Send implementation for RawTable
The implementation was introduced when changing hash storage from Unique to *mut, but it was changed back to Unique.
1 parent 3dfbc88 commit 524c3ff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libstd/collections/hash/table.rs

-3
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ pub struct RawTable<K, V> {
123123
marker: marker::PhantomData<(K, V)>,
124124
}
125125

126-
unsafe impl<K: Send, V: Send> Send for RawTable<K, V> {}
127-
unsafe impl<K: Sync, V: Sync> Sync for RawTable<K, V> {}
128-
129126
// An unsafe view of a RawTable bucket
130127
// Valid indexes are within [0..table_capacity)
131128
pub struct RawBucket<K, V> {

0 commit comments

Comments
 (0)