Rollup merge of #46710 - xfix:patch-5, r=alexcrichton

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:
Steve Klabnik 2017-12-15 09:27:01 -05:00 committed by GitHub
commit 710e32ad09
1 changed files with 0 additions and 3 deletions

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> {