@@ -636,10 +636,10 @@ impl<'a, P: Pattern<'a>> SplitInternal<'a, P> {
636
636
637
637
generate_pattern_iterators ! {
638
638
forward:
639
- # [ doc= " Created with the method `.split()`." ]
639
+ /// Created with the method `.split()`.
640
640
struct Split ;
641
641
reverse:
642
- # [ doc= " Created with the method `.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
- # [ doc= " Created with the method `.split_terminator()`." ]
653
+ /// Created with the method `.split_terminator()`.
654
654
struct SplitTerminator ;
655
655
reverse:
656
- # [ doc= " Created with the method `.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
- # [ doc= " Created with the method `.splitn()`." ]
699
+ /// Created with the method `.splitn()`.
700
700
struct SplitN ;
701
701
reverse:
702
- # [ doc= " Created with the method `.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
- # [ doc= " Created with the method `.match_indices()`." ]
733
+ /// Created with the method `.match_indices()`.
734
734
struct MatchIndices ;
735
735
reverse:
736
- # [ doc= " Created with the method `.rmatch_indices()`." ]
736
+ /// Created with the method `.rmatch_indices()`.
737
737
struct RMatchIndices ;
738
738
stability:
739
739
#[ unstable( feature = "str_match_indices" ,
@@ -771,10 +771,10 @@ impl<'a, P: Pattern<'a>> MatchesInternal<'a, P> {
771
771
772
772
generate_pattern_iterators ! {
773
773
forward:
774
- # [ doc= " Created with the method `.matches()`." ]
774
+ /// Created with the method `.matches()`.
775
775
struct Matches ;
776
776
reverse:
777
- # [ doc= " Created with the method `.rmatches()`." ]
777
+ /// Created with the method `.rmatches()`.
778
778
struct RMatches ;
779
779
stability:
780
780
#[ stable( feature = "str_matches" , since = "1.2.0" ) ]
0 commit comments