about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcollections/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index d028be50ee1..751775888b7 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -120,7 +120,7 @@ impl<T> Vec<T> {
     /// assert_eq!(vec.len(), 0);
     ///
     /// // These are all done without reallocating...
-    /// for i in range(0u, 10) {
+    /// for i in range(0i, 10) {
     ///     vec.push(i);
     /// }
     ///