about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-07-09 09:40:50 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-07-09 17:31:01 -0700
commit692a22e69d916f8d0153ee9dfa906272561e364a (patch)
tree604f5474517cf0a49a7acfa6fd3765c2bae64474 /src/libstd/rt
parenta89af1fa4cc8548a1c5e0a655a196d94b047ccd7 (diff)
downloadrust-692a22e69d916f8d0153ee9dfa906272561e364a.tar.gz
rust-692a22e69d916f8d0153ee9dfa906272561e364a.zip
Change the elements in the task-local map to be actual key-value pairs
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 f5f5aca71f5..04c1f972a82 100644
--- a/src/libstd/rt/task.rs
+++ b/src/libstd/rt/task.rs
@@ -32,7 +32,7 @@ pub struct Task {
 }
 
 pub struct GarbageCollector;
-pub struct LocalStorage(*c_void, Option<~fn(*c_void)>);
+pub struct LocalStorage(*c_void, Option<extern "Rust" fn(*c_void)>);
 
 pub struct Unwinder {
     unwinding: bool,