about summary refs log tree commit diff
path: root/src/libcore/private/global.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-01-28 10:46:43 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-01-29 10:42:58 -0800
commit6ce74460e6a5c8045a7b43b86a656f28354f4b0c (patch)
treea09e6a6b8ba8566e6dc9f223d6cbbfbbdcde19e2 /src/libcore/private/global.rs
parenteb4d39e1fef918242a5dba2a09d7b9faa437b911 (diff)
downloadrust-6ce74460e6a5c8045a7b43b86a656f28354f4b0c.tar.gz
rust-6ce74460e6a5c8045a7b43b86a656f28354f4b0c.zip
librustc: Disallow trait bounds in types, enumerations, and structure definitions. r=tjc
Diffstat (limited to 'src/libcore/private/global.rs')
-rw-r--r--src/libcore/private/global.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/private/global.rs b/src/libcore/private/global.rs
index 69319abc009..ee20fb665be 100644
--- a/src/libcore/private/global.rs
+++ b/src/libcore/private/global.rs
@@ -41,7 +41,7 @@ use sys::Closure;
 use task::spawn;
 use uint;
 
-pub type GlobalDataKey<T: Owned> = &fn(v: T);
+pub type GlobalDataKey<T> = &fn(v: T);
 
 pub unsafe fn global_data_clone_create<T: Owned Clone>(
     key: GlobalDataKey<T>, create: &fn() -> ~T) -> T {