diff options
| author | bors <bors@rust-lang.org> | 2013-06-06 00:58:37 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-06 00:58:37 -0700 |
| commit | 7ce700aa6528df24b39b65e2e8c3c6cd1758a02b (patch) | |
| tree | 5e0f82a1394c2acc0429db7b1df8e51794e17a24 /src/libstd | |
| parent | 7e62ad6876550e9a7de7f5e6039707f4a8e15f9b (diff) | |
| parent | e75572c879a5fb9d95e4fe95465a5bf19c7db076 (diff) | |
| download | rust-7ce700aa6528df24b39b65e2e8c3c6cd1758a02b.tar.gz rust-7ce700aa6528df24b39b65e2e8c3c6cd1758a02b.zip | |
auto merge of #6966 : alco/rust/fix-typo, r=sanxiyn
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/core.rc | 2 | ||||
| -rw-r--r-- | src/libstd/vec.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/core.rc b/src/libstd/core.rc index e629db9244d..a6334cc0c49 100644 --- a/src/libstd/core.rc +++ b/src/libstd/core.rc @@ -33,7 +33,7 @@ if the first line of each crate was extern mod core; -This means that the contents of core can be accessed from from any context +This means that the contents of core can be accessed from any context with the `core::` path prefix, as in `use core::vec`, `use core::task::spawn`, etc. diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 58b0193d300..80905bdaeab 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -1411,7 +1411,7 @@ pub fn zip_slice<T:Copy,U:Copy>(v: &const [T], u: &const [U]) /** * Convert two vectors to a vector of pairs. * - * Returns a vector of tuples, where the i-th tuple contains contains the + * Returns a vector of tuples, where the i-th tuple contains the * i-th elements from each of the input vectors. */ pub fn zip<T, U>(mut v: ~[T], mut u: ~[U]) -> ~[(T, U)] { |
