Skip to content

Commit 6686f7a

Browse files
committed
Register new snapshots
1 parent 522d09d commit 6686f7a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+20
-5242
lines changed

Diff for: src/liballoc/arc.rs

-7
Original file line numberDiff line numberDiff line change
@@ -598,13 +598,6 @@ impl<T: Default + Sync + Send> Default for Arc<T> {
598598
fn default() -> Arc<T> { Arc::new(Default::default()) }
599599
}
600600

601-
#[cfg(stage0)]
602-
impl<H: Hasher, T: Hash<H>> Hash<H> for Arc<T> {
603-
fn hash(&self, state: &mut H) {
604-
(**self).hash(state)
605-
}
606-
}
607-
#[cfg(not(stage0))]
608601
#[stable(feature = "rust1", since = "1.0.0")]
609602
impl<T: Hash> Hash for Arc<T> {
610603
fn hash<H: Hasher>(&self, state: &mut H) {

Diff for: src/liballoc/boxed.rs

-8
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,6 @@ impl<T: ?Sized + Ord> Ord for Box<T> {
220220
#[stable(feature = "rust1", since = "1.0.0")]
221221
impl<T: ?Sized + Eq> Eq for Box<T> {}
222222

223-
#[cfg(stage0)]
224-
impl<S: hash::Hasher, T: ?Sized + Hash<S>> Hash<S> for Box<T> {
225-
#[inline]
226-
fn hash(&self, state: &mut S) {
227-
(**self).hash(state);
228-
}
229-
}
230-
#[cfg(not(stage0))]
231223
#[stable(feature = "rust1", since = "1.0.0")]
232224
impl<T: ?Sized + Hash> Hash for Box<T> {
233225
fn hash<H: hash::Hasher>(&self, state: &mut H) {

Diff for: src/liballoc/rc.rs

-8
Original file line numberDiff line numberDiff line change
@@ -592,14 +592,6 @@ impl<T: Ord> Ord for Rc<T> {
592592
}
593593

594594
// FIXME (#18248) Make `T` `Sized?`
595-
#[cfg(stage0)]
596-
impl<S: Hasher, T: Hash<S>> Hash<S> for Rc<T> {
597-
#[inline]
598-
fn hash(&self, state: &mut S) {
599-
(**self).hash(state);
600-
}
601-
}
602-
#[cfg(not(stage0))]
603595
#[stable(feature = "rust1", since = "1.0.0")]
604596
impl<T: Hash> Hash for Rc<T> {
605597
fn hash<H: Hasher>(&self, state: &mut H) {

Diff for: src/libcollections/bit.rs

-20
Original file line numberDiff line numberDiff line change
@@ -985,17 +985,6 @@ impl fmt::Debug for BitVec {
985985
}
986986

987987
#[stable(feature = "rust1", since = "1.0.0")]
988-
#[cfg(stage0)]
989-
impl<S: hash::Writer + hash::Hasher> hash::Hash<S> for BitVec {
990-
fn hash(&self, state: &mut S) {
991-
self.nbits.hash(state);
992-
for elem in self.blocks() {
993-
elem.hash(state);
994-
}
995-
}
996-
}
997-
#[stable(feature = "rust1", since = "1.0.0")]
998-
#[cfg(not(stage0))]
999988
impl hash::Hash for BitVec {
1000989
fn hash<H: hash::Hasher>(&self, state: &mut H) {
1001990
self.nbits.hash(state);
@@ -1776,16 +1765,7 @@ impl fmt::Debug for BitSet {
17761765
}
17771766
}
17781767

1779-
#[cfg(stage0)]
1780-
impl<S: hash::Writer + hash::Hasher> hash::Hash<S> for BitSet {
1781-
fn hash(&self, state: &mut S) {
1782-
for pos in self {
1783-
pos.hash(state);
1784-
}
1785-
}
1786-
}
17871768
#[stable(feature = "rust1", since = "1.0.0")]
1788-
#[cfg(not(stage0))]
17891769
impl hash::Hash for BitSet {
17901770
fn hash<H: hash::Hasher>(&self, state: &mut H) {
17911771
for pos in self {

Diff for: src/libcollections/borrow.rs

-10
Original file line numberDiff line numberDiff line change
@@ -282,16 +282,6 @@ impl<'a, B: ?Sized> fmt::Display for Cow<'a, B> where
282282
}
283283

284284
#[stable(feature = "rust1", since = "1.0.0")]
285-
#[cfg(stage0)]
286-
impl<'a, B: ?Sized, S: Hasher> Hash<S> for Cow<'a, B> where B: Hash<S> + ToOwned
287-
{
288-
#[inline]
289-
fn hash(&self, state: &mut S) {
290-
Hash::hash(&**self, state)
291-
}
292-
}
293-
#[stable(feature = "rust1", since = "1.0.0")]
294-
#[cfg(not(stage0))]
295285
impl<'a, B: ?Sized> Hash for Cow<'a, B> where B: Hash + ToOwned
296286
{
297287
#[inline]

0 commit comments

Comments
 (0)