From ad465441ba3424cc5bcba2227c6a42ffe09fd77f Mon Sep 17 00:00:00 2001 From: reedlepee Date: Sun, 20 Oct 2013 08:56:42 +0530 Subject: Removed Unnecessary comments and white spaces #4386 --- src/libstd/task/mod.rs | 19 ++++++++----------- src/libstd/task/spawn.rs | 1 - 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'src/libstd/task') diff --git a/src/libstd/task/mod.rs b/src/libstd/task/mod.rs index 55a881f48fa..30c99c62885 100644 --- a/src/libstd/task/mod.rs +++ b/src/libstd/task/mod.rs @@ -108,7 +108,6 @@ pub enum SchedMode { * */ pub struct SchedOpts { - // all made by reedelpee priv mode: SchedMode, } @@ -145,15 +144,14 @@ pub struct SchedOpts { * scheduler other tasks will be impeded or even blocked indefinitely. */ pub struct TaskOpts { - // all made by reedelpee - priv linked: bool, - priv supervised: bool, - priv watched: bool, - priv indestructible: bool, - priv notify_chan: Option>, - name: Option, - sched: SchedOpts, - stack_size: Option + priv linked: bool, + priv supervised: bool, + priv watched: bool, + priv indestructible: bool, + priv notify_chan: Option>, + name: Option, + sched: SchedOpts, + stack_size: Option } /** @@ -171,7 +169,6 @@ pub struct TaskOpts { // FIXME (#3724): Replace the 'consumed' bit with move mode on self pub struct TaskBuilder { - //all made priv by reedlepee opts: TaskOpts, priv gen_body: Option<~fn(v: ~fn()) -> ~fn()>, priv can_not_copy: Option, diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs index 36bf261bb52..dec13eded39 100644 --- a/src/libstd/task/spawn.rs +++ b/src/libstd/task/spawn.rs @@ -307,7 +307,6 @@ fn each_ancestor(list: &mut AncestorList, // One of these per task. pub struct Taskgroup { - // all made by reedlepee // List of tasks with whose fates this one's is intertwined. priv tasks: TaskGroupArc, // 'none' means the group has failed. // Lists of tasks who will kill us if they fail, but whom we won't kill. -- cgit 1.4.1-3-g733a5