diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-09-20 02:08:47 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-10-09 09:17:29 -0400 |
| commit | 6a90e80b6240d8213f2b99fa470ef6ee04552d1b (patch) | |
| tree | e7ae38c849741fc9345652311dfa374f36b4be9a /src/libstd/rt/io/timer.rs | |
| parent | f647ccc79c38c1f80dbdb697900b2ba97e293263 (diff) | |
option: rewrite the API to use composition
Diffstat (limited to 'src/libstd/rt/io/timer.rs')
| -rw-r--r-- | src/libstd/rt/io/timer.rs | 2 |
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) }; } } |
