Skip to content

Commit d882274

Browse files
committed
Remove Copy bound from std::timer::delayed_send
Closes #3717
1 parent 1ab914d commit d882274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use comm = core::comm;
2323
* * ch - a channel of type T to send a `val` on
2424
* * val - a value of type T to send over the provided `ch`
2525
*/
26-
pub fn delayed_send<T: Copy Send>(iotask: IoTask,
26+
pub fn delayed_send<T: Send>(iotask: IoTask,
2727
msecs: uint, ch: comm::Chan<T>, val: T) {
2828
unsafe {
2929
let timer_done_po = core::comm::Port::<()>();

0 commit comments

Comments
 (0)