about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-11-12 21:07:09 +0000
committerbors <bors@rust-lang.org>2014-11-12 21:07:09 +0000
commit7a86aa83eea27529b1b8855cd4e2c8ce7bf787ef (patch)
tree5fa35a80a13f2eb0457dd3bfbd0733f2aa8afe15 /src/libstd
parente1149f0223e28b320a3f4d66981ce09607fb6535 (diff)
parent065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3 (diff)
downloadrust-7a86aa83eea27529b1b8855cd4e2c8ce7bf787ef.tar.gz
rust-7a86aa83eea27529b1b8855cd4e2c8ce7bf787ef.zip
auto merge of #18907 : alexcrichton/rust/snapshots, r=jakub-,jakub
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/table.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/libstd/collections/hash/table.rs b/src/libstd/collections/hash/table.rs
index fd964cdf02c..da670d5a3e5 100644
--- a/src/libstd/collections/hash/table.rs
+++ b/src/libstd/collections/hash/table.rs
@@ -165,29 +165,6 @@ impl<K, V> RawBucket<K, V> {
     }
 }
 
-// For parameterizing over mutability.
-
-#[cfg(stage0)]
-impl<'t, K, V> Deref<RawTable<K, V>> for &'t RawTable<K, V> {
-    fn deref(&self) -> &RawTable<K, V> {
-        &**self
-    }
-}
-
-#[cfg(stage0)]
-impl<'t, K, V> Deref<RawTable<K, V>> for &'t mut RawTable<K, V> {
-    fn deref(&self) -> &RawTable<K,V> {
-        &**self
-    }
-}
-
-#[cfg(stage0)]
-impl<'t, K, V> DerefMut<RawTable<K, V>> for &'t mut RawTable<K, V> {
-    fn deref_mut(&mut self) -> &mut RawTable<K,V> {
-        &mut **self
-    }
-}
-
 // Buckets hold references to the table.
 impl<K, V, M> FullBucket<K, V, M> {
     /// Borrow a reference to the table.