about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-31 19:01:01 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-31 19:50:51 -0700
commit922dcfdc6950f4d68d3334199de5572eef52b75a (patch)
tree3d23129fa0af77f5c1c5a6e9b3856a3ddfbffcba /src/libstd/rt
parent683197975c119e4c03588fa729dee4f87902f534 (diff)
downloadrust-922dcfdc6950f4d68d3334199de5572eef52b75a.tar.gz
rust-922dcfdc6950f4d68d3334199de5572eef52b75a.zip
Switch some tuple structs to pub fields
This commit deals with the fallout of the previous change by making tuples
structs have public fields where necessary (now that the fields are private by
default).
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs
index d9700ea9980..d36452653e3 100644
--- a/src/libstd/rt/task.rs
+++ b/src/libstd/rt/task.rs
@@ -58,7 +58,7 @@ pub struct Task {
 }
 
 pub struct GarbageCollector;
-pub struct LocalStorage(Option<local_data::Map>);
+pub struct LocalStorage(pub Option<local_data::Map>);
 
 /// A handle to a blocked task. Usually this means having the ~Task pointer by
 /// ownership, but if the task is killable, a killer can steal it at any time.