From 922dcfdc6950f4d68d3334199de5572eef52b75a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 31 Mar 2014 19:01:01 -0700 Subject: 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). --- src/libstd/rt/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt') 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); +pub struct LocalStorage(pub Option); /// 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. -- cgit 1.4.1-3-g733a5