about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2017-12-15 09:27:01 -0500
committerGitHub <noreply@github.com>2017-12-15 09:27:01 -0500
commit710e32ad09c15eebc5159fd7caa21054cb772d06 (patch)
tree7fe9e478097f84063f4794dd00c274f39ccb0730 /src/libstd
parent180a6b25df7c2c570f1160ed11381bec0a4d7d7e (diff)
parent524c3ff472a54a42c75257b803abc9dc34c7302c (diff)
downloadrust-710e32ad09c15eebc5159fd7caa21054cb772d06.tar.gz
rust-710e32ad09c15eebc5159fd7caa21054cb772d06.zip
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.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/table.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/collections/hash/table.rs b/src/libstd/collections/hash/table.rs
index 7e623a0af17..96f98efe4aa 100644
--- a/src/libstd/collections/hash/table.rs
+++ b/src/libstd/collections/hash/table.rs
@@ -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> {