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