diff options
Diffstat (limited to 'src/libcore/task')
| -rw-r--r-- | src/libcore/task/local_data_priv.rs | 2 | ||||
| -rw-r--r-- | src/libcore/task/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/task/local_data_priv.rs b/src/libcore/task/local_data_priv.rs index 3ac457b23d1..df5a5af74ca 100644 --- a/src/libcore/task/local_data_priv.rs +++ b/src/libcore/task/local_data_priv.rs @@ -155,7 +155,7 @@ pub unsafe fn local_set<T:Durable>( // does not have a reference associated with it, so it may become invalid // when the box is destroyed. let data_ptr = cast::reinterpret_cast(&data); - let data_box = data as LocalData; + let data_box = @data as @LocalData; // Construct new entry to store in the map. let new_entry = Some((keyval, data_ptr, data_box)); // Find a place to put it. diff --git a/src/libcore/task/mod.rs b/src/libcore/task/mod.rs index 2a640e4bf8c..49507897392 100644 --- a/src/libcore/task/mod.rs +++ b/src/libcore/task/mod.rs @@ -232,7 +232,7 @@ priv impl TaskBuilder { } } -impl TaskBuilder { +pub impl TaskBuilder { /** * Decouple the child task's failure from the parent's. If either fails, * the other will not be killed. |
