diff options
Diffstat (limited to 'src/libstd/timer.rs')
| -rw-r--r-- | src/libstd/timer.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/libstd/timer.rs b/src/libstd/timer.rs index 25bc5e58c4e..bda489c3ba7 100644 --- a/src/libstd/timer.rs +++ b/src/libstd/timer.rs @@ -26,7 +26,7 @@ export delayed_send, sleep, recv_timeout; * * ch - a channel of type T to send a `val` on * * val - a value of type T to send over the provided `ch` */ -fn delayed_send<T: copy send>(iotask: IoTask, +fn delayed_send<T: Copy Send>(iotask: IoTask, msecs: uint, ch: comm::Chan<T>, +val: T) { unsafe { let timer_done_po = core::comm::Port::<()>(); @@ -102,7 +102,7 @@ fn sleep(iotask: IoTask, msecs: uint) { * on the provided port in the allotted timeout period, then the result will * be a `some(T)`. If not, then `none` will be returned. */ -fn recv_timeout<T: copy send>(iotask: IoTask, +fn recv_timeout<T: Copy Send>(iotask: IoTask, msecs: uint, wait_po: comm::Port<T>) -> Option<T> { let timeout_po = comm::Port::<()>(); | 
