about summary refs log tree commit diff
path: root/src/librust/rust.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librust/rust.rs')
-rw-r--r--src/librust/rust.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librust/rust.rs b/src/librust/rust.rs
index 68427745ff5..ba5e592b605 100644
--- a/src/librust/rust.rs
+++ b/src/librust/rust.rs
@@ -57,13 +57,13 @@ impl ValidUsage {
 }
 
 enum Action<'self> {
-    Call(&'self fn(args: &[~str]) -> ValidUsage),
-    CallMain(&'static str, &'self fn()),
+    Call(&'self fn:Copy(args: &[~str]) -> ValidUsage),
+    CallMain(&'static str, &'self fn:Copy()),
 }
 
 enum UsageSource<'self> {
     UsgStr(&'self str),
-    UsgCall(&'self fn()),
+    UsgCall(&'self fn:Copy()),
 }
 
 struct Command<'self> {