diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-12 12:17:55 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-12 12:17:55 -0800 |
| commit | 065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3 (patch) | |
| tree | 7dc0761aee6f0eef769a3a4bbc475d3df7a789f4 /src/libstd | |
| parent | e4ead7b034c96b705ec34b8325f5f9f778f1cbb9 (diff) | |
| download | rust-065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3.tar.gz rust-065e39bb2fd439d792d8a8f72a7182dfc8b7c5a3.zip | |
Register new snapshots
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/table.rs | 23 |
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. |
