From 92662a9f9101c702215a6160eb3af0aabc583423 Mon Sep 17 00:00:00 2001 From: reedlepee Date: Sun, 20 Oct 2013 11:21:30 +0530 Subject: Removed unnecessary comments and white spaces as suggested --- src/libstd/rt/sched.rs | 2 +- src/libstd/rt/task.rs | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/sched.rs b/src/libstd/rt/sched.rs index d157301533c..48cd7987507 100644 --- a/src/libstd/rt/sched.rs +++ b/src/libstd/rt/sched.rs @@ -40,7 +40,7 @@ use vec::{OwnedVector}; /// in too much allocation and too many events. pub struct Scheduler { /// There are N work queues, one per scheduler. - work_queue: WorkQueue<~Task>, + priv work_queue: WorkQueue<~Task>, /// Work queues for the other schedulers. These are created by /// cloning the core work queues. work_queues: ~[WorkQueue<~Task>], diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index ca96ee032e2..c4f352501a0 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -43,20 +43,20 @@ use send_str::SendStr; // the type-specific state. pub struct Task { - heap: LocalHeap, - priv gc: GarbageCollector, - storage: LocalStorage, - logger: StdErrLogger, - unwinder: Unwinder, - taskgroup: Option, - death: Death, - destroyed: bool, - name: Option, - coroutine: Option, - sched: Option<~Scheduler>, - task_type: TaskType, + heap: LocalHeap, + priv gc: GarbageCollector, + storage: LocalStorage, + logger: StdErrLogger, + unwinder: Unwinder, + taskgroup: Option, + death: Death, + destroyed: bool, + name: Option, + coroutine: Option, + sched: Option<~Scheduler>, + task_type: TaskType, // Dynamic borrowck debugging info - borrow_list: Option<~[BorrowRecord]> + borrow_list: Option<~[BorrowRecord]> } pub enum TaskType { -- cgit 1.4.1-3-g733a5