about summary refs log tree commit diff
path: root/src/libstd/timer.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-02-20 21:22:30 -0800
committerbors <bors@rust-lang.org>2013-02-20 21:22:30 -0800
commita02da4ecdef0bc810357db3566f97e9cc1f24c46 (patch)
treee61b61fe772d4454a0901fbe48a4828933e5a0eb /src/libstd/timer.rs
parent0aa1aaa2c1d095365e341017e443d61a960e0af6 (diff)
parentbf2a225c0b6f90f61bcaf4a6f33d9eaf424795b6 (diff)
downloadrust-a02da4ecdef0bc810357db3566f97e9cc1f24c46.tar.gz
rust-a02da4ecdef0bc810357db3566f97e9cc1f24c46.zip
auto merge of #5063 : pcwalton/rust/plussing, r=pcwalton
Diffstat (limited to 'src/libstd/timer.rs')
-rw-r--r--src/libstd/timer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/timer.rs b/src/libstd/timer.rs
index 6e1e6a331a2..6768ff23248 100644
--- a/src/libstd/timer.rs
+++ b/src/libstd/timer.rs
@@ -39,7 +39,7 @@ use core;
  * * 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: Owned>(iotask: &IoTask,
+pub fn delayed_send<T:Owned>(iotask: &IoTask,
                               msecs: uint,
                               ch: &Chan<T>,
                               val: T) {
@@ -123,7 +123,7 @@ pub 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.
  */
-pub fn recv_timeout<T: Copy Owned>(iotask: &IoTask,
+pub fn recv_timeout<T:Copy + Owned>(iotask: &IoTask,
                                    msecs: uint,
                                    wait_po: &Port<T>)
                                 -> Option<T> {