Skip to content

Commit 414862d

Browse files
committed
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)
1 parent 37bb6ed commit 414862d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl<T> Vec<T> {
120120
/// assert_eq!(vec.len(), 0);
121121
///
122122
/// // These are all done without reallocating...
123-
/// for i in range(0u, 10) {
123+
/// for i in range(0i, 10) {
124124
/// vec.push(i);
125125
/// }
126126
///

0 commit comments

Comments
 (0)