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:
Konrad Borowski 2017-12-13 14:53:39 +01:00 committed by GitHub
parent 3dfbc88a62
commit 524c3ff472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,9 +123,6 @@ pub struct RawTable<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
// Valid indexes are within [0..table_capacity)
pub struct RawBucket<K, V> {