@@ -715,7 +715,7 @@ impl str {
715
715
/// a character matches.
716
716
///
717
717
/// [`char`]: primitive.char.html
718
- /// [`None`]: option/enum.Option.html#variant.None
718
+ /// [`None`]: /std/ option/enum.Option.html#variant.None
719
719
///
720
720
/// # Examples
721
721
///
@@ -760,7 +760,7 @@ impl str {
760
760
/// a character matches.
761
761
///
762
762
/// [`char`]: primitive.char.html
763
- /// [`None`]: option/enum.Option.html#variant.None
763
+ /// [`None`]: /std/ option/enum.Option.html#variant.None
764
764
///
765
765
/// # Examples
766
766
///
@@ -809,7 +809,7 @@ impl str {
809
809
/// allows a reverse search and forward/reverse search yields the same
810
810
/// elements. This is true for, eg, [`char`] but not for `&str`.
811
811
///
812
- /// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
812
+ /// [`DoubleEndedIterator`]: /std/ iter/trait.DoubleEndedIterator.html
813
813
///
814
814
/// If the pattern allows a reverse search but its results might differ
815
815
/// from a forward search, the [`rsplit()`] method can be used.
@@ -922,7 +922,7 @@ impl str {
922
922
/// search, and it will be a [`DoubleEndedIterator`] if a forward/reverse
923
923
/// search yields the same elements.
924
924
///
925
- /// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
925
+ /// [`DoubleEndedIterator`]: /std/ iter/trait.DoubleEndedIterator.html
926
926
///
927
927
/// For iterating from the front, the [`split()`] method can be used.
928
928
///
@@ -979,7 +979,7 @@ impl str {
979
979
/// allows a reverse search and forward/reverse search yields the same
980
980
/// elements. This is true for, eg, [`char`] but not for `&str`.
981
981
///
982
- /// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
982
+ /// [`DoubleEndedIterator`]: /std/ iter/trait.DoubleEndedIterator.html
983
983
/// [`char`]: primitive.char.html
984
984
///
985
985
/// If the pattern allows a reverse search but its results might differ
@@ -1161,7 +1161,7 @@ impl str {
1161
1161
/// allows a reverse search and forward/reverse search yields the same
1162
1162
/// elements. This is true for, eg, [`char`] but not for `&str`.
1163
1163
///
1164
- /// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
1164
+ /// [`DoubleEndedIterator`]: /std/ iter/trait.DoubleEndedIterator.html
1165
1165
/// [`char`]: primitive.char.html
1166
1166
///
1167
1167
/// If the pattern allows a reverse search but its results might differ
@@ -1199,7 +1199,7 @@ impl str {
1199
1199
/// search, and it will be a [`DoubleEndedIterator`] if a forward/reverse
1200
1200
/// search yields the same elements.
1201
1201
///
1202
- /// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
1202
+ /// [`DoubleEndedIterator`]: /std/ iter/trait.DoubleEndedIterator.html
1203
1203
///
1204
1204
/// For iterating from the front, the [`matches()`] method can be used.
1205
1205
///
@@ -1240,7 +1240,7 @@ impl str {
1240
1240
/// allows a reverse search and forward/reverse search yields the same
1241
1241
/// elements. This is true for, eg, [`char`] but not for `&str`.
1242
1242
///
1243
- /// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
1243
+ /// [`DoubleEndedIterator`]: /std/ iter/trait.DoubleEndedIterator.html
1244
1244
///
1245
1245
/// If the pattern allows a reverse search but its results might differ
1246
1246
/// from a forward search, the [`rmatch_indices()`] method can be used.
@@ -1283,7 +1283,7 @@ impl str {
1283
1283
/// search, and it will be a [`DoubleEndedIterator`] if a forward/reverse
1284
1284
/// search yields the same elements.
1285
1285
///
1286
- /// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
1286
+ /// [`DoubleEndedIterator`]: /std/ iter/trait.DoubleEndedIterator.html
1287
1287
///
1288
1288
/// For iterating from the front, the [`match_indices()`] method can be used.
1289
1289
///
@@ -1513,14 +1513,14 @@ impl str {
1513
1513
///
1514
1514
/// `parse()` can parse any type that implements the [`FromStr`] trait.
1515
1515
///
1516
- /// [`FromStr`]: str/trait.FromStr.html
1516
+ /// [`FromStr`]: /std/ str/trait.FromStr.html
1517
1517
///
1518
1518
/// # Errors
1519
1519
///
1520
1520
/// Will return [`Err`] if it's not possible to parse this string slice into
1521
1521
/// the desired type.
1522
1522
///
1523
- /// [`Err`]: str/trait.FromStr.html#associatedtype.Err
1523
+ /// [`Err`]: /std/ str/trait.FromStr.html#associatedtype.Err
1524
1524
///
1525
1525
/// # Example
1526
1526
///
@@ -1559,7 +1559,7 @@ impl str {
1559
1559
/// While doing so, it attempts to find matches of a pattern. If it finds any, it
1560
1560
/// replaces them with the replacement string slice.
1561
1561
///
1562
- /// [`String`]: string/struct.String.html
1562
+ /// [`String`]: /std/ string/struct.String.html
1563
1563
///
1564
1564
/// # Examples
1565
1565
///
@@ -1595,7 +1595,7 @@ impl str {
1595
1595
/// 'Lowercase' is defined according to the terms of the Unicode Derived Core Property
1596
1596
/// `Lowercase`.
1597
1597
///
1598
- /// [`String`]: string/struct.String.html
1598
+ /// [`String`]: /std/ string/struct.String.html
1599
1599
///
1600
1600
/// # Examples
1601
1601
///
@@ -1671,7 +1671,7 @@ impl str {
1671
1671
/// 'Uppercase' is defined according to the terms of the Unicode Derived Core Property
1672
1672
/// `Uppercase`.
1673
1673
///
1674
- /// [`String`]: string/struct.String.html
1674
+ /// [`String`]: /std/ string/struct.String.html
1675
1675
///
1676
1676
/// # Examples
1677
1677
///
@@ -1715,7 +1715,7 @@ impl str {
1715
1715
1716
1716
/// Converts a `Box<str>` into a [`String`] without copying or allocating.
1717
1717
///
1718
- /// [`String`]: string/struct.String.html
1718
+ /// [`String`]: /std/ string/struct.String.html
1719
1719
///
1720
1720
/// # Examples
1721
1721
///
0 commit comments