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.
This commit is contained in:
@@ -123,9 +123,6 @@ pub struct RawTable<K, V> {
|
|||||||
marker: marker::PhantomData<(K, V)>,
|
marker: marker::PhantomData<(K, V)>,
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe impl<K: Send, V: Send> Send for RawTable<K, V> {}
|
|
||||||
unsafe impl<K: Sync, V: Sync> Sync for RawTable<K, V> {}
|
|
||||||
|
|
||||||
// An unsafe view of a RawTable bucket
|
// An unsafe view of a RawTable bucket
|
||||||
// Valid indexes are within [0..table_capacity)
|
// Valid indexes are within [0..table_capacity)
|
||||||
pub struct RawBucket<K, V> {
|
pub struct RawBucket<K, V> {
|
||||||
|
|||||||
Reference in New Issue
Block a user