about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-04-05 18:54:07 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2015-04-05 18:54:07 +0200
commit24f06e66641f02566c882b30ed50d213436a28ce (patch)
tree0b93dd0d482916a5c72e53964a58a6dc12b8c906
parent529de5f45b8070b3930073b711500c4633dffcf4 (diff)
Remove external iterator in CharIndices comment and the reference to the std::iter module
-rw-r--r--src/libcore/str/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index dbb365c4e23..471e3c5ea67 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -389,8 +389,7 @@ impl<'a> DoubleEndedIterator for Chars<'a> {
     }
 }
 
-/// External iterator for a string's characters and their byte offsets.
-/// Use with the `std::iter` module.
+/// Iterator for a string's characters and their byte offsets.
 #[derive(Clone)]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct CharIndices<'a> {