diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-11 14:17:24 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-11 14:17:59 -0700 |
| commit | d8822742845fbb70de4d9cf07732058a1e7eeacb (patch) | |
| tree | 179dbbf1dc3ae2b09c6e6b0df119a4543105a35b /src/libstd/timer.rs | |
| parent | 1ab914df1d24f6c198bb7b1e01a4cf0050d179c8 (diff) | |
| download | rust-d8822742845fbb70de4d9cf07732058a1e7eeacb.tar.gz rust-d8822742845fbb70de4d9cf07732058a1e7eeacb.zip | |
Remove Copy bound from std::timer::delayed_send
Closes #3717
Diffstat (limited to 'src/libstd/timer.rs')
| -rw-r--r-- | src/libstd/timer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/timer.rs b/src/libstd/timer.rs index c9c28c4e1f0..cc62e32608b 100644 --- a/src/libstd/timer.rs +++ b/src/libstd/timer.rs @@ -23,7 +23,7 @@ use comm = core::comm; * * ch - a channel of type T to send a `val` on * * val - a value of type T to send over the provided `ch` */ -pub fn delayed_send<T: Copy Send>(iotask: IoTask, +pub fn delayed_send<T: Send>(iotask: IoTask, msecs: uint, ch: comm::Chan<T>, val: T) { unsafe { let timer_done_po = core::comm::Port::<()>(); |
