Register new snapshots.
This commit is contained in:
parent
f4f10dba29
commit
89b80faa8e
29 changed files with 182 additions and 486 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue