about summary refs log tree commit diff
path: root/src/libstd/local_data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/local_data.rs')
-rw-r--r--src/libstd/local_data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/local_data.rs b/src/libstd/local_data.rs
index 168bb7c14f0..2c1a3bb29a0 100644
--- a/src/libstd/local_data.rs
+++ b/src/libstd/local_data.rs
@@ -59,7 +59,7 @@ use task::local_data_priv::*;
 #[cfg(not(stage0))]
 pub type Key<T> = &'static KeyValue<T>;
 #[cfg(stage0)]
-pub type Key<'self,T> = &'self fn:Copy(v: T);
+pub type Key<'self,T> = &'self fn(v: T);
 
 pub enum KeyValue<T> { Key }