@@ -340,7 +340,7 @@ impl<'a> DoubleEndedIterator for CharIndices<'a> {
340
340
/// External iterator for a string's bytes.
341
341
/// Use with the `std::iter` module.
342
342
///
343
- /// Created with `str:: bytes`
343
+ /// Created with the method `. bytes()`.
344
344
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
345
345
#[ derive( Clone ) ]
346
346
pub struct Bytes < ' a > ( Map < slice:: Iter < ' a , u8 > , BytesDeref > ) ;
@@ -635,10 +635,10 @@ impl<'a, P: Pattern<'a>> SplitInternal<'a, P> {
635
635
636
636
generate_pattern_iterators ! {
637
637
forward:
638
- /// Return type of `str:: split()`
638
+ /// Created with the method `. split()`.
639
639
struct Split ;
640
640
reverse:
641
- /// Return type of `str:: rsplit()`
641
+ /// Created with the method `. rsplit()`.
642
642
struct RSplit ;
643
643
stability:
644
644
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -649,10 +649,10 @@ generate_pattern_iterators! {
649
649
650
650
generate_pattern_iterators ! {
651
651
forward:
652
- /// Return type of `str:: split_terminator()`
652
+ /// Created with the method `. split_terminator()`.
653
653
struct SplitTerminator ;
654
654
reverse:
655
- /// Return type of `str:: rsplit_terminator()`
655
+ /// Created with the method `. rsplit_terminator()`.
656
656
struct RSplitTerminator ;
657
657
stability:
658
658
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -695,10 +695,10 @@ impl<'a, P: Pattern<'a>> SplitNInternal<'a, P> {
695
695
696
696
generate_pattern_iterators ! {
697
697
forward:
698
- /// Return type of `str:: splitn()`
698
+ /// Created with the method `. splitn()`.
699
699
struct SplitN ;
700
700
reverse:
701
- /// Return type of `str:: rsplitn()`
701
+ /// Created with the method `. rsplitn()`.
702
702
struct RSplitN ;
703
703
stability:
704
704
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -729,10 +729,10 @@ impl<'a, P: Pattern<'a>> MatchIndicesInternal<'a, P> {
729
729
730
730
generate_pattern_iterators ! {
731
731
forward:
732
- /// Return type of `str:: match_indices()`
732
+ /// Created with the method `. match_indices()`.
733
733
struct MatchIndices ;
734
734
reverse:
735
- /// Return type of `str:: rmatch_indices()`
735
+ /// Created with the method `. rmatch_indices()`.
736
736
struct RMatchIndices ;
737
737
stability:
738
738
#[ unstable( feature = "core" ,
@@ -770,10 +770,10 @@ impl<'a, P: Pattern<'a>> MatchesInternal<'a, P> {
770
770
771
771
generate_pattern_iterators ! {
772
772
forward:
773
- /// Return type of `str:: matches()`
773
+ /// Created with the method `. matches()`.
774
774
struct Matches ;
775
775
reverse:
776
- /// Return type of `str:: rmatches()`
776
+ /// Created with the method `. rmatches()`.
777
777
struct RMatches ;
778
778
stability:
779
779
#[ unstable( feature = "core" , reason = "type got recently added" ) ]
@@ -782,7 +782,7 @@ generate_pattern_iterators! {
782
782
delegate double ended;
783
783
}
784
784
785
- /// Return type of `str:: lines()`
785
+ /// Created with the method `. lines()`.
786
786
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
787
787
#[ derive( Clone ) ]
788
788
pub struct Lines < ' a > ( SplitTerminator < ' a , char > ) ;
@@ -810,7 +810,7 @@ impl<'a> DoubleEndedIterator for Lines<'a> {
810
810
}
811
811
}
812
812
813
- /// Return type of `str:: lines_any()`
813
+ /// Created with the method `. lines_any()`.
814
814
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
815
815
#[ derive( Clone ) ]
816
816
pub struct LinesAny < ' a > ( Map < Lines < ' a > , LinesAnyMap > ) ;
0 commit comments