From 414862db3cb7ff75f8d2373466e547a0464d683d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 21 Jul 2014 10:18:17 -0700 Subject: 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) --- src/libcollections/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Vec { /// 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); /// } /// -- cgit 1.4.1-3-g733a5