about summary refs log tree commit diff
path: root/src/libstd/timer.rs
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-10-11 14:17:24 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-10-11 14:17:59 -0700
commitd8822742845fbb70de4d9cf07732058a1e7eeacb (patch)
tree179dbbf1dc3ae2b09c6e6b0df119a4543105a35b /src/libstd/timer.rs
parent1ab914df1d24f6c198bb7b1e01a4cf0050d179c8 (diff)
downloadrust-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.rs2
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::<()>();