diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-07-10 14:43:25 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-07-17 14:57:53 -0700 |
| commit | e20549ff192edec9d625f1119bcb077c3abaf070 (patch) | |
| tree | 9cf88e584f36dc0d7f9f29a2fae55f0203bbc39c /src/libstd/local_data.rs | |
| parent | 99d44d24c7744361b352499b5f54b8f0bab876ec (diff) | |
| download | rust-e20549ff192edec9d625f1119bcb077c3abaf070.tar.gz rust-e20549ff192edec9d625f1119bcb077c3abaf070.zip | |
librustc: Remove all uses of the `Copy` bound.
Diffstat (limited to 'src/libstd/local_data.rs')
| -rw-r--r-- | src/libstd/local_data.rs | 2 |
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 } |
