about summary refs log tree commit diff
path: root/src/libstd/rt/task.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-22 15:31:26 -0700
committerbors <bors@rust-lang.org>2013-10-22 15:31:26 -0700
commita7453ad0dffd94e57389b893527111c98a96ec40 (patch)
tree20cb7a545b241e074a653ff223bef484fa4a5c2d /src/libstd/rt/task.rs
parentb477f7a7b74615bba9ab3074082f9cc76a24e8a3 (diff)
parent7e6f5bb5c9eaab292a755036656cf62bfc669974 (diff)
downloadrust-a7453ad0dffd94e57389b893527111c98a96ec40.tar.gz
rust-a7453ad0dffd94e57389b893527111c98a96ec40.zip
auto merge of #9969 : reedlepee123/rust/priv_fields, r=bstrie
Diffstat (limited to 'src/libstd/rt/task.rs')
-rw-r--r--src/libstd/rt/task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs
index a6f9e11e40e..c4f352501a0 100644
--- a/src/libstd/rt/task.rs
+++ b/src/libstd/rt/task.rs
@@ -44,7 +44,7 @@ use send_str::SendStr;
 
 pub struct Task {
     heap: LocalHeap,
-    gc: GarbageCollector,
+    priv gc: GarbageCollector,
     storage: LocalStorage,
     logger: StdErrLogger,
     unwinder: Unwinder,
@@ -69,7 +69,7 @@ pub struct Coroutine {
     /// The segment of stack on which the task is currently running or
     /// if the task is blocked, on which the task will resume
     /// execution.
-    current_stack_segment: StackSegment,
+    priv current_stack_segment: StackSegment,
     /// Always valid if the task is alive and not running.
     saved_context: Context
 }