diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2015-01-16 17:01:02 +0200 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2015-01-17 16:37:34 -0800 |
| commit | 89b80faa8ef2b52f5adc423cfcfed69b313ea1b7 (patch) | |
| tree | 6398229035eb8fac2a35fe6eb3a72d3efad3dd12 /src/liballoc | |
| parent | f4f10dba2975b51c2d2c92157018db3ac13d4d4a (diff) | |
| download | rust-89b80faa8ef2b52f5adc423cfcfed69b313ea1b7.tar.gz rust-89b80faa8ef2b52f5adc423cfcfed69b313ea1b7.zip | |
Register new snapshots.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 8 | ||||
| -rw-r--r-- | src/liballoc/rc.rs | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 458eb3dce57..8ad0c152dc8 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -117,14 +117,6 @@ impl<T: ?Sized + Ord> Ord for Box<T> { #[stable] impl<T: ?Sized + Eq> Eq for Box<T> {} -#[cfg(stage0)] -impl<S: hash::Writer, T: ?Sized + Hash<S>> Hash<S> for Box<T> { - #[inline] - fn hash(&self, state: &mut S) { - (**self).hash(state); - } -} -#[cfg(not(stage0))] impl<S: hash::Hasher, T: ?Sized + Hash<S>> Hash<S> for Box<T> { #[inline] fn hash(&self, state: &mut S) { diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 0e18cdda8dd..7191a7af346 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -686,14 +686,6 @@ impl<T: Ord> Ord for Rc<T> { } // FIXME (#18248) Make `T` `Sized?` -#[cfg(stage0)] -impl<S: hash::Writer, T: Hash<S>> Hash<S> for Rc<T> { - #[inline] - fn hash(&self, state: &mut S) { - (**self).hash(state); - } -} -#[cfg(not(stage0))] impl<S: hash::Hasher, T: Hash<S>> Hash<S> for Rc<T> { #[inline] fn hash(&self, state: &mut S) { |
