about summary refs log tree commit diff
path: root/src/libstd/rt/task.rs
diff options
context:
space:
mode:
authorZiad Hatahet <hatahet@gmail.com>2013-10-23 10:09:06 -0700
committerZiad Hatahet <hatahet@gmail.com>2013-10-23 10:09:06 -0700
commit7d69837bd263f334aa9dea4235698c006f7b1ce8 (patch)
treeb43315adfc734b0ab480b40674721c99902f3eb2 /src/libstd/rt/task.rs
parent60245b9290388671edac86d6db1619f60a9ccb68 (diff)
parenta4ec8af4c549bd806522826b756e18fbf0b5c47b (diff)
downloadrust-7d69837bd263f334aa9dea4235698c006f7b1ce8.tar.gz
rust-7d69837bd263f334aa9dea4235698c006f7b1ce8.zip
Merge remote-tracking branch 'upstream/master'
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
 }