diff options
| author | reedlepee <reedlepee123@gmail.com> | 2013-10-20 08:56:42 +0530 |
|---|---|---|
| committer | reedlepee <reedlepee123@gmail.com> | 2013-10-23 01:10:50 +0530 |
| commit | ad465441ba3424cc5bcba2227c6a42ffe09fd77f (patch) | |
| tree | 6ee335e4b7e144450fdc2e1d729602cc5a70148e /src/libstd/task | |
| parent | 0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62 (diff) | |
| download | rust-ad465441ba3424cc5bcba2227c6a42ffe09fd77f.tar.gz rust-ad465441ba3424cc5bcba2227c6a42ffe09fd77f.zip | |
Removed Unnecessary comments and white spaces #4386
Diffstat (limited to 'src/libstd/task')
| -rw-r--r-- | src/libstd/task/mod.rs | 19 | ||||
| -rw-r--r-- | src/libstd/task/spawn.rs | 1 |
2 files changed, 8 insertions, 12 deletions
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<Chan<TaskResult>>, - name: Option<SendStr>, - sched: SchedOpts, - stack_size: Option<uint> + priv linked: bool, + priv supervised: bool, + priv watched: bool, + priv indestructible: bool, + priv notify_chan: Option<Chan<TaskResult>>, + name: Option<SendStr>, + sched: SchedOpts, + stack_size: Option<uint> } /** @@ -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<util::NonCopyable>, 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. |
