@@ -373,10 +373,10 @@ Section: Iterators
373373///
374374/// [`char`]: ../../std/primitive.char.html
375375///
376- /// This struct is created by the [`chars() `] method on [`str`].
376+ /// This struct is created by the [`chars`] method on [`str`].
377377/// See its documentation for more.
378378///
379- /// [`chars() `]: ../../std/primitive.str.html#method.chars
379+ /// [`chars`]: ../../std/primitive.str.html#method.chars
380380/// [`str`]: ../../std/primitive.str.html
381381#[ derive( Clone , Debug ) ]
382382#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -561,10 +561,10 @@ impl<'a> Chars<'a> {
561561///
562562/// [`char`]: ../../std/primitive.char.html
563563///
564- /// This struct is created by the [`char_indices() `] method on [`str`].
564+ /// This struct is created by the [`char_indices`] method on [`str`].
565565/// See its documentation for more.
566566///
567- /// [`char_indices() `]: ../../std/primitive.str.html#method.char_indices
567+ /// [`char_indices`]: ../../std/primitive.str.html#method.char_indices
568568/// [`str`]: ../../std/primitive.str.html
569569#[ derive( Clone , Debug ) ]
570570#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -639,10 +639,10 @@ impl<'a> CharIndices<'a> {
639639
640640/// An iterator over the bytes of a string slice.
641641///
642- /// This struct is created by the [`bytes() `] method on [`str`].
642+ /// This struct is created by the [`bytes`] method on [`str`].
643643/// See its documentation for more.
644644///
645- /// [`bytes() `]: ../../std/primitive.str.html#method.bytes
645+ /// [`bytes`]: ../../std/primitive.str.html#method.bytes
646646/// [`str`]: ../../std/primitive.str.html
647647#[ stable( feature = "rust1" , since = "1.0.0" ) ]
648648#[ derive( Clone , Debug ) ]
@@ -1176,10 +1176,10 @@ generate_pattern_iterators! {
11761176
11771177/// An iterator over the lines of a string, as string slices.
11781178///
1179- /// This struct is created with the [`lines() `] method on [`str`].
1179+ /// This struct is created with the [`lines`] method on [`str`].
11801180/// See its documentation for more.
11811181///
1182- /// [`lines() `]: ../../std/primitive.str.html#method.lines
1182+ /// [`lines`]: ../../std/primitive.str.html#method.lines
11831183/// [`str`]: ../../std/primitive.str.html
11841184#[ stable( feature = "rust1" , since = "1.0.0" ) ]
11851185#[ derive( Clone , Debug ) ]
0 commit comments