@@ -341,7 +341,7 @@ impl<'a> DoubleEndedIterator for CharIndices<'a> {
341341/// External iterator for a string's bytes.
342342/// Use with the `std::iter` module.
343343///
344- /// Created with `str:: bytes`
344+ /// Created with the method `. bytes()`.
345345#[ stable( feature = "rust1" , since = "1.0.0" ) ]
346346#[ derive( Clone ) ]
347347pub struct Bytes < ' a > ( Map < slice:: Iter < ' a , u8 > , BytesDeref > ) ;
@@ -636,10 +636,10 @@ impl<'a, P: Pattern<'a>> SplitInternal<'a, P> {
636636
637637generate_pattern_iterators ! {
638638 forward:
639- /// Return type of `str:: split()`
639+ /// Created with the method `. split()`.
640640 struct Split ;
641641 reverse:
642- /// Return type of `str:: rsplit()`
642+ /// Created with the method `. rsplit()`.
643643 struct RSplit ;
644644 stability:
645645 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -650,10 +650,10 @@ generate_pattern_iterators! {
650650
651651generate_pattern_iterators ! {
652652 forward:
653- /// Return type of `str:: split_terminator()`
653+ /// Created with the method `. split_terminator()`.
654654 struct SplitTerminator ;
655655 reverse:
656- /// Return type of `str:: rsplit_terminator()`
656+ /// Created with the method `. rsplit_terminator()`.
657657 struct RSplitTerminator ;
658658 stability:
659659 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -696,10 +696,10 @@ impl<'a, P: Pattern<'a>> SplitNInternal<'a, P> {
696696
697697generate_pattern_iterators ! {
698698 forward:
699- /// Return type of `str:: splitn()`
699+ /// Created with the method `. splitn()`.
700700 struct SplitN ;
701701 reverse:
702- /// Return type of `str:: rsplitn()`
702+ /// Created with the method `. rsplitn()`.
703703 struct RSplitN ;
704704 stability:
705705 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -730,10 +730,10 @@ impl<'a, P: Pattern<'a>> MatchIndicesInternal<'a, P> {
730730
731731generate_pattern_iterators ! {
732732 forward:
733- /// Return type of `str:: match_indices()`
733+ /// Created with the method `. match_indices()`.
734734 struct MatchIndices ;
735735 reverse:
736- /// Return type of `str:: rmatch_indices()`
736+ /// Created with the method `. rmatch_indices()`.
737737 struct RMatchIndices ;
738738 stability:
739739 #[ unstable( feature = "core" ,
@@ -771,10 +771,10 @@ impl<'a, P: Pattern<'a>> MatchesInternal<'a, P> {
771771
772772generate_pattern_iterators ! {
773773 forward:
774- /// Return type of `str:: matches()`
774+ /// Created with the method `. matches()`.
775775 struct Matches ;
776776 reverse:
777- /// Return type of `str:: rmatches()`
777+ /// Created with the method `. rmatches()`.
778778 struct RMatches ;
779779 stability:
780780 #[ unstable( feature = "core" , reason = "type got recently added" ) ]
@@ -783,7 +783,7 @@ generate_pattern_iterators! {
783783 delegate double ended;
784784}
785785
786- /// Return type of `str:: lines()`
786+ /// Created with the method `. lines()`.
787787#[ stable( feature = "rust1" , since = "1.0.0" ) ]
788788#[ derive( Clone ) ]
789789pub struct Lines < ' a > ( SplitTerminator < ' a , char > ) ;
@@ -811,7 +811,7 @@ impl<'a> DoubleEndedIterator for Lines<'a> {
811811 }
812812}
813813
814- /// Return type of `str:: lines_any()`
814+ /// Created with the method `. lines_any()`.
815815#[ stable( feature = "rust1" , since = "1.0.0" ) ]
816816#[ derive( Clone ) ]
817817pub struct LinesAny < ' a > ( Map < Lines < ' a > , LinesAnyMap > ) ;
0 commit comments