Skip to content

Commit 94a2bc1

Browse files
committed
---
yaml --- r: 183997 b: refs/heads/auto c: 343909b h: refs/heads/master i: 183995: babb78b v: v3
1 parent 1f56f1e commit 94a2bc1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: f82e2310b3b35bc1d137712576d2d16b82e03fcb
13+
refs/heads/auto: 343909bca1a3903bc6df51007723601ac5a103c0
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libcore/cmp.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ impl Ord for Ordering {
215215
#[inline]
216216
#[stable(feature = "rust1", since = "1.0.0")]
217217
fn cmp(&self, other: &Ordering) -> Ordering {
218-
(*self as int).cmp(&(*other as int))
218+
(*self as i32).cmp(&(*other as i32))
219219
}
220220
}
221221

@@ -224,7 +224,7 @@ impl PartialOrd for Ordering {
224224
#[inline]
225225
#[stable(feature = "rust1", since = "1.0.0")]
226226
fn partial_cmp(&self, other: &Ordering) -> Option<Ordering> {
227-
(*self as int).partial_cmp(&(*other as int))
227+
(*self as i32).partial_cmp(&(*other as i32))
228228
}
229229
}
230230

@@ -482,7 +482,7 @@ mod impls {
482482
}
483483

484484
partial_eq_impl! {
485-
bool char uint u8 u16 u32 u64 int i8 i16 i32 i64 f32 f64
485+
bool char usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64
486486
}
487487

488488
macro_rules! eq_impl {
@@ -492,7 +492,7 @@ mod impls {
492492
)*)
493493
}
494494

495-
eq_impl! { () bool char uint u8 u16 u32 u64 int i8 i16 i32 i64 }
495+
eq_impl! { () bool char usize u8 u16 u32 u64 isize i8 i16 i32 i64 }
496496

497497
macro_rules! partial_ord_impl {
498498
($($t:ty)*) => ($(
@@ -535,7 +535,7 @@ mod impls {
535535
}
536536
}
537537

538-
partial_ord_impl! { char uint u8 u16 u32 u64 int i8 i16 i32 i64 f32 f64 }
538+
partial_ord_impl! { char usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 }
539539

540540
macro_rules! ord_impl {
541541
($($t:ty)*) => ($(
@@ -565,7 +565,7 @@ mod impls {
565565
}
566566
}
567567

568-
ord_impl! { char uint u8 u16 u32 u64 int i8 i16 i32 i64 }
568+
ord_impl! { char usize u8 u16 u32 u64 isize i8 i16 i32 i64 }
569569

570570
// & pointers
571571

0 commit comments

Comments
 (0)