Skip to content

Commit 5e74c62

Browse files
committed
---
yaml --- r: 152205 b: refs/heads/try2 c: bba701c h: refs/heads/master i: 152203: 082beea v: v3
1 parent 97a6a3a commit 5e74c62

File tree

84 files changed

+437
-432
lines changed

Some content is hidden

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

84 files changed

+437
-432
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: c605c2b57b412402e6b491e91852fd9dbadeb551
8+
refs/heads/try2: bba701c59d84eac4e20d0796ec06db8d1cdd39cf
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/liballoc/owned.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
use core::any::{Any, AnyRefExt};
1414
use core::clone::Clone;
15-
use core::cmp::{PartialEq, PartialOrd, TotalEq, TotalOrd, Ordering};
15+
use core::cmp::{PartialEq, PartialOrd, Eq, Ord, Ordering};
1616
use core::default::Default;
1717
use core::fmt;
1818
use core::intrinsics;
@@ -67,11 +67,11 @@ impl<T:PartialOrd> PartialOrd for Box<T> {
6767
#[inline]
6868
fn gt(&self, other: &Box<T>) -> bool { *(*self) > *(*other) }
6969
}
70-
impl<T: TotalOrd> TotalOrd for Box<T> {
70+
impl<T: Ord> Ord for Box<T> {
7171
#[inline]
7272
fn cmp(&self, other: &Box<T>) -> Ordering { (**self).cmp(*other) }
7373
}
74-
impl<T: TotalEq> TotalEq for Box<T> {}
74+
impl<T: Eq> Eq for Box<T> {}
7575

7676
/// Extension methods for an owning `Any` trait object
7777
pub trait AnyOwnExt {

branches/try2/src/liballoc/rc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pointers, and then storing the parent pointers as `Weak` pointers.
2626
use core::mem::transmute;
2727
use core::cell::Cell;
2828
use core::clone::Clone;
29-
use core::cmp::{PartialEq, PartialOrd, TotalEq, TotalOrd, Ordering};
29+
use core::cmp::{PartialEq, PartialOrd, Eq, Ord, Ordering};
3030
use core::kinds::marker;
3131
use core::ops::{Deref, Drop};
3232
use core::option::{Option, Some, None};
@@ -157,7 +157,7 @@ impl<T: PartialEq> PartialEq for Rc<T> {
157157
fn ne(&self, other: &Rc<T>) -> bool { **self != **other }
158158
}
159159

160-
impl<T: TotalEq> TotalEq for Rc<T> {}
160+
impl<T: Eq> Eq for Rc<T> {}
161161

162162
impl<T: PartialOrd> PartialOrd for Rc<T> {
163163
#[inline(always)]
@@ -173,7 +173,7 @@ impl<T: PartialOrd> PartialOrd for Rc<T> {
173173
fn ge(&self, other: &Rc<T>) -> bool { **self >= **other }
174174
}
175175

176-
impl<T: TotalOrd> TotalOrd for Rc<T> {
176+
impl<T: Ord> Ord for Rc<T> {
177177
#[inline]
178178
fn cmp(&self, other: &Rc<T>) -> Ordering { (**self).cmp(&**other) }
179179
}

0 commit comments

Comments
 (0)