diff options
| author | bors <bors@rust-lang.org> | 2014-04-03 18:41:45 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-04-03 18:41:45 -0700 |
| commit | c2e457686b77a7eec906549b73feba314667235b (patch) | |
| tree | 7502e270074fa24186b7599ee78ec4116cd96261 /src/libstd/rt | |
| parent | e7fe20722904cd2829a65f845ee7a1718cdf7292 (diff) | |
| parent | 922dcfdc6950f4d68d3334199de5572eef52b75a (diff) | |
| download | rust-c2e457686b77a7eec906549b73feba314667235b.tar.gz rust-c2e457686b77a7eec906549b73feba314667235b.zip | |
auto merge of #13237 : alexcrichton/rust/private-tuple-structs, r=brson
This is the final commit need to implement [RFC #4](https://github.com/rust-lang/rfcs/blob/master/active/0004-private-fields.md), it makes all tuple struct fields private by default, overridable with the `pub` keyword. I'll note one divergence from the original RFC which is outlined in the first commit.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index 0f90135512c..fc266df11e4 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. |
