diff options
| author | reedlepee <reedlepee123@gmail.com> | 2013-10-20 11:21:30 +0530 |
|---|---|---|
| committer | reedlepee <reedlepee123@gmail.com> | 2013-10-23 01:10:50 +0530 |
| commit | 92662a9f9101c702215a6160eb3af0aabc583423 (patch) | |
| tree | 3a810232670bd76a18b966a28191951b96113d1e /src/libstd/rt | |
| parent | ad465441ba3424cc5bcba2227c6a42ffe09fd77f (diff) | |
| download | rust-92662a9f9101c702215a6160eb3af0aabc583423.tar.gz rust-92662a9f9101c702215a6160eb3af0aabc583423.zip | |
Removed unnecessary comments and white spaces as suggested
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/sched.rs | 2 | ||||
| -rw-r--r-- | src/libstd/rt/task.rs | 26 |
2 files changed, 14 insertions, 14 deletions
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<Taskgroup>, - death: Death, - destroyed: bool, - name: Option<SendStr>, - coroutine: Option<Coroutine>, - sched: Option<~Scheduler>, - task_type: TaskType, + heap: LocalHeap, + priv gc: GarbageCollector, + storage: LocalStorage, + logger: StdErrLogger, + unwinder: Unwinder, + taskgroup: Option<Taskgroup>, + death: Death, + destroyed: bool, + name: Option<SendStr>, + coroutine: Option<Coroutine>, + sched: Option<~Scheduler>, + task_type: TaskType, // Dynamic borrowck debugging info - borrow_list: Option<~[BorrowRecord]> + borrow_list: Option<~[BorrowRecord]> } pub enum TaskType { |
