@@ -636,10 +636,10 @@ impl<'a, P: Pattern<'a>> SplitInternal<'a, P> {
636636
637637generate_pattern_iterators ! {
638638 forward:
639- # [ doc= " Created with the method `.split()`." ]
639+ /// Created with the method `.split()`.
640640 struct Split ;
641641 reverse:
642- # [ doc= " Created with the method `.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- # [ doc= " Created with the method `.split_terminator()`." ]
653+ /// Created with the method `.split_terminator()`.
654654 struct SplitTerminator ;
655655 reverse:
656- # [ doc= " Created with the method `.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- # [ doc= " Created with the method `.splitn()`." ]
699+ /// Created with the method `.splitn()`.
700700 struct SplitN ;
701701 reverse:
702- # [ doc= " Created with the method `.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- # [ doc= " Created with the method `.match_indices()`." ]
733+ /// Created with the method `.match_indices()`.
734734 struct MatchIndices ;
735735 reverse:
736- # [ doc= " Created with the method `.rmatch_indices()`." ]
736+ /// Created with the method `.rmatch_indices()`.
737737 struct RMatchIndices ;
738738 stability:
739739 #[ unstable( feature = "str_match_indices" ,
@@ -771,10 +771,10 @@ impl<'a, P: Pattern<'a>> MatchesInternal<'a, P> {
771771
772772generate_pattern_iterators ! {
773773 forward:
774- # [ doc= " Created with the method `.matches()`." ]
774+ /// Created with the method `.matches()`.
775775 struct Matches ;
776776 reverse:
777- # [ doc= " Created with the method `.rmatches()`." ]
777+ /// Created with the method `.rmatches()`.
778778 struct RMatches ;
779779 stability:
780780 #[ stable( feature = "str_matches" , since = "1.2.0" ) ]
0 commit comments