From e75572c879a5fb9d95e4fe95465a5bf19c7db076 Mon Sep 17 00:00:00 2001 From: Alexei Sholik Date: Thu, 6 Jun 2013 10:38:41 +0300 Subject: Deduplicate words in code comments --- src/libstd/core.rc | 2 +- src/libstd/vec.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') 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(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(mut v: ~[T], mut u: ~[U]) -> ~[(T, U)] { -- cgit 1.4.1-3-g733a5