]> git.lizzy.rs Git - rust.git/commitdiff
Remove external iterator in CharIndices comment and the reference to the std::iter...
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 5 Apr 2015 16:54:07 +0000 (18:54 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Sun, 5 Apr 2015 16:54:07 +0000 (18:54 +0200)
src/libcore/str/mod.rs

index dbb365c4e2357536c4ab7097ed435aedd4f3de9f..471e3c5ea6736b8a47bacd1997f2651b461f5a59 100644 (file)
@@ -389,8 +389,7 @@ fn next_back(&mut self) -> Option<char> {
     }
 }
 
-/// 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> {