Update to rustc version b981add

This commit is contained in:
Honza Špaček
2014-06-02 15:30:34 +02:00
parent 9dbbec8a1d
commit 69d2903438
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ impl PartialEq for Key {
}
}
impl TotalOrd for Key {
impl Ord for Key {
fn cmp(&self, other: &Key) -> Ordering {
if self.code < other.code {
Less
@@ -36,7 +36,7 @@ impl TotalOrd for Key {
} else { Equal }
}
}
impl TotalEq for Key {
impl Eq for Key {
}
#[allow(non_snake_case_functions)]
@@ -310,7 +310,7 @@ use std::hash::sip::SipState;
use std::num::FromPrimitive;
use std::num::ToPrimitive;
#[deriving(PartialEq, TotalEq, Show)]
#[deriving(PartialEq, Eq, Show)]
pub enum KeyCode {
".as_bytes()));
for &entry in entries.iter() {
+3 -3
View File
@@ -27,7 +27,7 @@ impl PartialEq for ScanCode {
}
}
impl TotalOrd for ScanCode {
impl Ord for ScanCode {
fn cmp(&self, other: &ScanCode) -> Ordering {
if self.code < other.code {
Less
@@ -36,7 +36,7 @@ impl TotalOrd for ScanCode {
} else { Equal }
}
}
impl TotalEq for ScanCode {
impl Eq for ScanCode {
}
#[allow(non_snake_case_functions)]
@@ -317,7 +317,7 @@ use std::hash::sip::SipState;
use std::num::FromPrimitive;
use std::num::ToPrimitive;
#[deriving(PartialEq, TotalEq, Show)]
#[deriving(PartialEq, Eq, Show)]
pub enum ScanCode {
".as_bytes()));
for &entry in entries.iter() {