Skip to content

Commit 66100b4

Browse files
committed
---
yaml --- r: 34497 b: refs/heads/snap-stage3 c: 603e13c h: refs/heads/master i: 34495: f474f57 v: v3
1 parent 711e28d commit 66100b4

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,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 329a57882f813a0d77500aa499426882e9ef3dbb
4+
refs/heads/snap-stage3: 603e13cc02cd262f8612676f124edc986bf9caa9
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)