mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
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:
commit
710e32ad09
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user