about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlexei Sholik <alcosholik@gmail.com>2013-06-06 10:38:41 +0300
committerAlexei Sholik <alcosholik@gmail.com>2013-06-06 10:48:27 +0300
commite75572c879a5fb9d95e4fe95465a5bf19c7db076 (patch)
tree5e0f82a1394c2acc0429db7b1df8e51794e17a24 /src/libstd
parentc7b19b04cbde053f0cf7a15b989bc6546cd2e265 (diff)
downloadrust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.tar.gz
rust-e75572c879a5fb9d95e4fe95465a5bf19c7db076.zip
Deduplicate words in code comments
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/core.rc2
-rw-r--r--src/libstd/vec.rs2
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)] {