@@ -352,7 +352,7 @@ Section: Iterators
352
352
*/
353
353
354
354
/// External iterator for a string's characters.
355
- /// Use with the `std::iterator ` module.
355
+ /// Use with the `std::iter ` module.
356
356
#[ deriving( Clone ) ]
357
357
pub struct CharIterator < ' self > {
358
358
/// The slice remaining to be iterated
@@ -397,7 +397,7 @@ impl<'self> DoubleEndedIterator<char> for CharIterator<'self> {
397
397
}
398
398
399
399
/// External iterator for a string's characters and their byte offsets.
400
- /// Use with the `std::iterator ` module.
400
+ /// Use with the `std::iter ` module.
401
401
#[ deriving( Clone ) ]
402
402
pub struct CharOffsetIterator < ' self > {
403
403
/// The original string to be iterated
@@ -439,20 +439,20 @@ impl<'self> DoubleEndedIterator<(uint, char)> for CharOffsetIterator<'self> {
439
439
}
440
440
441
441
/// External iterator for a string's characters in reverse order.
442
- /// Use with the `std::iterator ` module.
442
+ /// Use with the `std::iter ` module.
443
443
pub type CharRevIterator < ' self > = Invert < CharIterator < ' self > > ;
444
444
445
445
/// External iterator for a string's characters and their byte offsets in reverse order.
446
- /// Use with the `std::iterator ` module.
446
+ /// Use with the `std::iter ` module.
447
447
pub type CharOffsetRevIterator < ' self > = Invert < CharOffsetIterator < ' self > > ;
448
448
449
449
/// External iterator for a string's bytes.
450
- /// Use with the `std::iterator ` module.
450
+ /// Use with the `std::iter ` module.
451
451
pub type ByteIterator < ' self > =
452
452
Map < ' self , & ' self u8 , u8 , vec:: VecIterator < ' self , u8 > > ;
453
453
454
454
/// External iterator for a string's bytes in reverse order.
455
- /// Use with the `std::iterator ` module.
455
+ /// Use with the `std::iter ` module.
456
456
pub type ByteRevIterator < ' self > = Invert < ByteIterator < ' self > > ;
457
457
458
458
/// An iterator over the substrings of a string, separated by `sep`.
@@ -682,7 +682,7 @@ enum NormalizationForm {
682
682
}
683
683
684
684
/// External iterator for a string's normalization's characters.
685
- /// Use with the `std::iterator ` module.
685
+ /// Use with the `std::iter ` module.
686
686
#[ deriving( Clone ) ]
687
687
struct NormalizationIterator < ' self > {
688
688
priv kind : NormalizationForm ,
0 commit comments