about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-21 10:18:17 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-21 10:18:17 -0700
commit414862db3cb7ff75f8d2373466e547a0464d683d (patch)
treed2c1fd7ce36078738cc766b63f41cb8cdc1d388b
parent37bb6ed30294d3847386b284f39f90fd245f9be9 (diff)
downloadrust-414862db3cb7ff75f8d2373466e547a0464d683d.tar.gz
rust-414862db3cb7ff75f8d2373466e547a0464d683d.zip
Test fixes from the rollup
Closes #15690 (Guide: improve error handling)
Closes #15729 (Guide: guessing game)
Closes #15751 (repair macro docs)
Closes #15766 (rustc: Print a smaller hash on -v)
Closes #15815 (Add unit test for rlibc)
Closes #15820 (Minor refactoring and features in rustc driver for embedders)
Closes #15822 (rustdoc: Add an --extern flag analagous to rustc's)
Closes #15824 (Document Deque trait and bitv.)
Closes #15832 (syntax: Join consecutive string literals in format strings together)
Closes #15837 (Update LLVM to include NullCheckElimination pass)
Closes #15841 (Rename to_str to to_string)
Closes #15847 (Purge #[!resolve_unexported] from the compiler)
Closes #15848 (privacy: Add publically-reexported foreign item to exported item set)
Closes #15849 (fix string in from_utf8_lossy_100_multibyte benchmark)
Closes #15850 (Get rid of few warnings in tests)
Closes #15852 (Clarify the std::vec::Vec::with_capacity docs)
-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);
     /// }
     ///