Skip to content

Commit bc69e11

Browse files
committed
---
yaml --- r: 41663 b: refs/heads/master c: 603e13c h: refs/heads/master i: 41661: 953e58b 41659: b68a05e 41655: a5712f1 41647: 118c86f 41631: 62bd2c4 41599: 909fc23 v: v3
1 parent 11c6e72 commit bc69e11

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 329a57882f813a0d77500aa499426882e9ef3dbb
2+
refs/heads/master: 603e13cc02cd262f8612676f124edc986bf9caa9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/libcore/task/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,11 @@ pub mod rt;
6363
pub mod spawn;
6464

6565
/// A handle to a task
66+
#[deriving_eq]
6667
pub enum Task {
6768
TaskHandle(task_id)
6869
}
6970

70-
// XXX: deriving
71-
impl Task : cmp::Eq {
72-
pure fn eq(&self, other: &Task) -> bool { *(*self) == *(*other) }
73-
pure fn ne(&self, other: &Task) -> bool { !(*self).eq(other) }
74-
}
75-
7671
/**
7772
* Indicates the manner in which a task exited.
7873
*

0 commit comments

Comments
 (0)