about summary refs log tree commit diff
path: root/src/libstd/rt/context.rs
diff options
context:
space:
mode:
authorreedlepee <reedlepee123@gmail.com>2013-10-20 06:03:09 +0530
committerreedlepee <reedlepee123@gmail.com>2013-10-23 01:10:50 +0530
commit0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62 (patch)
tree6f1dc6e0c50e81caacfcb5cef1a9543d9442e87e /src/libstd/rt/context.rs
parentdadb6f0cd9fa7e4b402a0107358acb34002d4895 (diff)
downloadrust-0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62.tar.gz
rust-0ada7c7ffe453b9df849996f8dca0b8d0f2d9e62.zip
Making fields in std and extra : private #4386
Diffstat (limited to 'src/libstd/rt/context.rs')
-rw-r--r--src/libstd/rt/context.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/rt/context.rs b/src/libstd/rt/context.rs
index 7f7545ca230..9508c757c9d 100644
--- a/src/libstd/rt/context.rs
+++ b/src/libstd/rt/context.rs
@@ -25,11 +25,11 @@ pub static RED_ZONE: uint = 20 * 1024;
 // then misalign the regs again.
 pub struct Context {
     /// The context entry point, saved here for later destruction
-    start: Option<~~fn()>,
+    priv start: Option<~~fn()>,
     /// Hold the registers while the task or scheduler is suspended
-    regs: ~Registers,
+    priv regs: ~Registers,
     /// Lower bound and upper bound for the stack
-    stack_bounds: Option<(uint, uint)>,
+    priv stack_bounds: Option<(uint, uint)>,
 }
 
 impl Context {