about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2017-12-13 14:53:39 +0100
committerGitHub <noreply@github.com>2017-12-13 14:53:39 +0100
commit524c3ff472a54a42c75257b803abc9dc34c7302c (patch)
tree5801565320919bb2e7c92114c20574d84eb8bd6c /src/libstd
parent3dfbc88a626625be01e112da11ec367e2fc71bb3 (diff)
downloadrust-524c3ff472a54a42c75257b803abc9dc34c7302c.tar.gz
rust-524c3ff472a54a42c75257b803abc9dc34c7302c.zip
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> {