diff options
| author | bors <bors@rust-lang.org> | 2013-10-22 15:31:26 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-22 15:31:26 -0700 |
| commit | a7453ad0dffd94e57389b893527111c98a96ec40 (patch) | |
| tree | 20cb7a545b241e074a653ff223bef484fa4a5c2d /src/libstd/task/spawn.rs | |
| parent | b477f7a7b74615bba9ab3074082f9cc76a24e8a3 (diff) | |
| parent | 7e6f5bb5c9eaab292a755036656cf62bfc669974 (diff) | |
| download | rust-a7453ad0dffd94e57389b893527111c98a96ec40.tar.gz rust-a7453ad0dffd94e57389b893527111c98a96ec40.zip | |
auto merge of #9969 : reedlepee123/rust/priv_fields, r=bstrie
Diffstat (limited to 'src/libstd/task/spawn.rs')
| -rw-r--r-- | src/libstd/task/spawn.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs index 7cf0f04c7e9..dec13eded39 100644 --- a/src/libstd/task/spawn.rs +++ b/src/libstd/task/spawn.rs @@ -308,10 +308,10 @@ fn each_ancestor(list: &mut AncestorList, // One of these per task. pub struct Taskgroup { // List of tasks with whose fates this one's is intertwined. - tasks: TaskGroupArc, // 'none' means the group has failed. + 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. - ancestors: AncestorList, - notifier: Option<AutoNotify>, + priv ancestors: AncestorList, + priv notifier: Option<AutoNotify>, } impl Drop for Taskgroup { |
