about summary refs log tree commit diff
path: root/src/libstd/timer.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-02-20 17:07:17 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-02-20 21:14:20 -0800
commitbf2a225c0b6f90f61bcaf4a6f33d9eaf424795b6 (patch)
treed321d9cab209f002e4236afd09d5d12fd640acc7 /src/libstd/timer.rs
parenta307608781027d8c1b4c99bf1a8ac2c0d960a1bc (diff)
downloadrust-bf2a225c0b6f90f61bcaf4a6f33d9eaf424795b6.tar.gz
rust-bf2a225c0b6f90f61bcaf4a6f33d9eaf424795b6.zip
librustc: Separate most trait bounds with '+'. rs=plussing
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> {