about summary refs log tree commit diff
path: root/src/libstd/timer.rs
diff options
context:
space:
mode:
authorTyler Bindon <martica@martica.org>2013-01-25 12:29:51 -0700
committerTyler Bindon <martica@martica.org>2013-01-25 19:42:23 -0700
commit3a5d2cdbf3aff91b57bc6b70dd429ae5e771d054 (patch)
treedfbf800eac335b9f63b91d90f0132c56b18980e5 /src/libstd/timer.rs
parent7ff7489dc62bdcc0dbd507c52cba90d47cfdd129 (diff)
downloadrust-3a5d2cdbf3aff91b57bc6b70dd429ae5e771d054.tar.gz
rust-3a5d2cdbf3aff91b57bc6b70dd429ae5e771d054.zip
Fix Option camel case in comments
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 f8147c532e6..ce6231afa67 100644
--- a/src/libstd/timer.rs
+++ b/src/libstd/timer.rs
@@ -100,11 +100,11 @@ pub fn sleep(iotask: IoTask, msecs: uint) {
 }
 
 /**
- * Receive on a port for (up to) a specified time, then return an `option<T>`
+ * Receive on a port for (up to) a specified time, then return an `Option<T>`
  *
  * This call will block to receive on the provided port for up to the
  * specified timeout. Depending on whether the provided port receives in that
- * time period, `recv_timeout` will return an `option<T>` representing the
+ * time period, `recv_timeout` will return an `Option<T>` representing the
  * result.
  *
  * # Arguments
@@ -115,9 +115,9 @@ pub fn sleep(iotask: IoTask, msecs: uint) {
  *
  * # Returns
  *
- * An `option<T>` representing the outcome of the call. If the call `recv`'d
+ * An `Option<T>` representing the outcome of the call. If the call `recv`'d
  * on the provided port in the allotted timeout period, then the result will
- * be a `some(T)`. If not, then `none` will be returned.
+ * be a `Some(T)`. If not, then `None` will be returned.
  */
 pub fn recv_timeout<T: Copy Owned>(iotask: IoTask,
                                    msecs: uint,