about summary refs log tree commit diff
path: root/src/libstd/rt/context.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/context.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/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 {