Skip to content

Commit 5d0f58f

Browse files
committed
---
yaml --- r: 47622 b: refs/heads/incoming c: ded95d2 h: refs/heads/master v: v3
1 parent eef692c commit 5d0f58f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 16da4e15af02f92d4c7e7cfe36344a276096585d
9+
refs/heads/incoming: ded95d2c2891d7ffec1277cb4969ed956ff0bd25
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libsyntax/parse/token.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ use std::oldmap::HashMap;
2525

2626
#[auto_encode]
2727
#[auto_decode]
28+
#[deriving_eq]
2829
pub enum binop {
2930
PLUS,
3031
MINUS,
@@ -518,12 +519,6 @@ pub fn reserved_keyword_table() -> HashMap<~str, ()> {
518519
words
519520
}
520521

521-
impl binop : cmp::Eq {
522-
pure fn eq(&self, other: &binop) -> bool {
523-
((*self) as uint) == ((*other) as uint)
524-
}
525-
pure fn ne(&self, other: &binop) -> bool { !(*self).eq(other) }
526-
}
527522

528523
impl Token : cmp::Eq {
529524
pure fn eq(&self, other: &Token) -> bool {

0 commit comments

Comments
 (0)