about summary refs log tree commit diff
path: root/src/libstd/rt/io/timer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/rt/io/timer.rs')
-rw-r--r--src/libstd/rt/io/timer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/io/timer.rs b/src/libstd/rt/io/timer.rs
index c2cf9be3980..b41d7541a60 100644
--- a/src/libstd/rt/io/timer.rs
+++ b/src/libstd/rt/io/timer.rs
@@ -58,7 +58,7 @@ mod test {
     fn test_io_timer_sleep_simple() {
         do run_in_mt_newsched_task {
             let timer = Timer::new();
-            do timer.map_move |mut t| { t.sleep(1) };
+            do timer.map |mut t| { t.sleep(1) };
         }
     }