about summary refs log tree commit diff
path: root/src/libstd/timer.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-08-29 17:41:38 -0700
committerBrian Anderson <banderson@mozilla.com>2012-08-29 17:44:29 -0700
commit94720fcea762338be3edfb29cbc8292e761f5585 (patch)
tree12eb76366746670e40f6fcb8785d9e52086c800b /src/libstd/timer.rs
parentd8b34b2af820574830024daac3a57db079ab3bac (diff)
downloadrust-94720fcea762338be3edfb29cbc8292e761f5585.tar.gz
rust-94720fcea762338be3edfb29cbc8292e761f5585.zip
std: More camel casing
Diffstat (limited to 'src/libstd/timer.rs')
-rw-r--r--src/libstd/timer.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/timer.rs b/src/libstd/timer.rs
index a30e28f6953..ff0130b7783 100644
--- a/src/libstd/timer.rs
+++ b/src/libstd/timer.rs
@@ -5,7 +5,7 @@
 
 import uv = uv;
 import uv::iotask;
-import iotask::iotask;
+import iotask::IoTask;
 import comm = core::comm;
 
 export delayed_send, sleep, recv_timeout;
@@ -26,7 +26,7 @@ export delayed_send, sleep, recv_timeout;
  * * ch - a channel of type T to send a `val` on
  * * val - a value of type T to send over the provided `ch`
  */
-fn delayed_send<T: copy send>(iotask: iotask,
+fn delayed_send<T: copy send>(iotask: IoTask,
                               msecs: uint, ch: comm::Chan<T>, +val: T) {
         unsafe {
             let timer_done_po = core::comm::Port::<()>();
@@ -75,7 +75,7 @@ fn delayed_send<T: copy send>(iotask: iotask,
  * * `iotask` - a `uv::iotask` that the tcp request will run on
  * * msecs - an amount of time, in milliseconds, for the current task to block
  */
-fn sleep(iotask: iotask, msecs: uint) {
+fn sleep(iotask: IoTask, msecs: uint) {
     let exit_po = core::comm::Port::<()>();
     let exit_ch = core::comm::Chan(exit_po);
     delayed_send(iotask, msecs, exit_ch, ());
@@ -102,7 +102,7 @@ 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.
  */
-fn recv_timeout<T: copy send>(iotask: iotask,
+fn recv_timeout<T: copy send>(iotask: IoTask,
                               msecs: uint,
                               wait_po: comm::Port<T>) -> Option<T> {
     let timeout_po = comm::Port::<()>();