core: replace uses of old deriving attribute with new one

This commit is contained in:
Andrew Paseltiner
2013-03-20 11:35:02 -04:00
parent 9584c60871
commit 98e8fe12d2
8 changed files with 19 additions and 19 deletions

View File

@@ -50,13 +50,13 @@ pub mod rt;
pub mod spawn;
/// A handle to a scheduler
#[deriving_eq]
#[deriving(Eq)]
pub enum Scheduler {
SchedulerHandle(sched_id)
}
/// A handle to a task
#[deriving_eq]
#[deriving(Eq)]
pub enum Task {
TaskHandle(task_id)
}
@@ -88,7 +88,7 @@ impl Eq for TaskResult {
}
/// Scheduler modes
#[deriving_eq]
#[deriving(Eq)]
pub enum SchedMode {
/// Run task on the default scheduler
DefaultScheduler,