Skip to content

Commit 33483fa

Browse files
committed
fixed broken links to char
1 parent 3edb355 commit 33483fa

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/libcore/str/mod.rs

+19-19
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ impl str {
21172117
/// This length is in bytes, not [`char`]s or graphemes. In other words,
21182118
/// it may not be what a human considers the length of the string.
21192119
///
2120-
/// [`char`]: primitive.char.html
2120+
/// [`char`]: ../../std/primitive.char.html
21212121
///
21222122
/// # Examples
21232123
///
@@ -2590,7 +2590,7 @@ impl str {
25902590
/// Value, and may not match your idea of what a 'character' is. Iteration
25912591
/// over grapheme clusters may be what you actually want.
25922592
///
2593-
/// [`char`]: primitive.char.html
2593+
/// [`char`]: ../../std/primitive.char.html
25942594
///
25952595
/// # Examples
25962596
///
@@ -2643,7 +2643,7 @@ impl str {
26432643
/// The iterator yields tuples. The position is first, the [`char`] is
26442644
/// second.
26452645
///
2646-
/// [`char`]: primitive.char.html
2646+
/// [`char`]: ../../std/primitive.char.html
26472647
///
26482648
/// # Examples
26492649
///
@@ -2946,7 +2946,7 @@ impl str {
29462946
/// The pattern can be a `&str`, [`char`], or a closure that determines if
29472947
/// a character matches.
29482948
///
2949-
/// [`char`]: primitive.char.html
2949+
/// [`char`]: ../../std/primitive.char.html
29502950
/// [`None`]: option/enum.Option.html#variant.None
29512951
///
29522952
/// # Examples
@@ -2994,7 +2994,7 @@ impl str {
29942994
/// The pattern can be a `&str`, [`char`], or a closure that determines if
29952995
/// a character matches.
29962996
///
2997-
/// [`char`]: primitive.char.html
2997+
/// [`char`]: ../../std/primitive.char.html
29982998
/// [`None`]: option/enum.Option.html#variant.None
29992999
///
30003000
/// # Examples
@@ -3050,7 +3050,7 @@ impl str {
30503050
/// If the pattern allows a reverse search but its results might differ
30513051
/// from a forward search, the [`rsplit`] method can be used.
30523052
///
3053-
/// [`char`]: primitive.char.html
3053+
/// [`char`]: ../../std/primitive.char.html
30543054
/// [`rsplit`]: #method.rsplit
30553055
///
30563056
/// # Examples
@@ -3157,7 +3157,7 @@ impl str {
31573157
/// The pattern can be a `&str`, [`char`], or a closure that determines the
31583158
/// split.
31593159
///
3160-
/// [`char`]: primitive.char.html
3160+
/// [`char`]: ../../std/primitive.char.html
31613161
///
31623162
/// # Iterator behavior
31633163
///
@@ -3224,7 +3224,7 @@ impl str {
32243224
/// elements. This is true for, eg, [`char`] but not for `&str`.
32253225
///
32263226
/// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
3227-
/// [`char`]: primitive.char.html
3227+
/// [`char`]: ../../std/primitive.char.html
32283228
///
32293229
/// If the pattern allows a reverse search but its results might differ
32303230
/// from a forward search, the [`rsplit_terminator`] method can be used.
@@ -3259,7 +3259,7 @@ impl str {
32593259
/// Additional libraries might provide more complex patterns like
32603260
/// regular expressions.
32613261
///
3262-
/// [`char`]: primitive.char.html
3262+
/// [`char`]: ../../std/primitive.char.html
32633263
///
32643264
/// Equivalent to [`split`], except that the trailing substring is
32653265
/// skipped if empty.
@@ -3306,7 +3306,7 @@ impl str {
33063306
/// The pattern can be a `&str`, [`char`], or a closure that determines the
33073307
/// split.
33083308
///
3309-
/// [`char`]: primitive.char.html
3309+
/// [`char`]: ../../std/primitive.char.html
33103310
///
33113311
/// # Iterator behavior
33123312
///
@@ -3361,7 +3361,7 @@ impl str {
33613361
/// The pattern can be a `&str`, [`char`], or a closure that
33623362
/// determines the split.
33633363
///
3364-
/// [`char`]: primitive.char.html
3364+
/// [`char`]: ../../std/primitive.char.html
33653365
///
33663366
/// # Iterator behavior
33673367
///
@@ -3407,7 +3407,7 @@ impl str {
34073407
/// The pattern can be a `&str`, [`char`], or a closure that
34083408
/// determines if a character matches.
34093409
///
3410-
/// [`char`]: primitive.char.html
3410+
/// [`char`]: ../../std/primitive.char.html
34113411
///
34123412
/// # Iterator behavior
34133413
///
@@ -3416,7 +3416,7 @@ impl str {
34163416
/// elements. This is true for, eg, [`char`] but not for `&str`.
34173417
///
34183418
/// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
3419-
/// [`char`]: primitive.char.html
3419+
/// [`char`]: ../../std/primitive.char.html
34203420
///
34213421
/// If the pattern allows a reverse search but its results might differ
34223422
/// from a forward search, the [`rmatches`] method can be used.
@@ -3446,7 +3446,7 @@ impl str {
34463446
/// The pattern can be a `&str`, [`char`], or a closure that determines if
34473447
/// a character matches.
34483448
///
3449-
/// [`char`]: primitive.char.html
3449+
/// [`char`]: ../../std/primitive.char.html
34503450
///
34513451
/// # Iterator behavior
34523452
///
@@ -3488,7 +3488,7 @@ impl str {
34883488
/// The pattern can be a `&str`, [`char`], or a closure that determines
34893489
/// if a character matches.
34903490
///
3491-
/// [`char`]: primitive.char.html
3491+
/// [`char`]: ../../std/primitive.char.html
34923492
///
34933493
/// # Iterator behavior
34943494
///
@@ -3532,7 +3532,7 @@ impl str {
35323532
/// The pattern can be a `&str`, [`char`], or a closure that determines if a
35333533
/// character matches.
35343534
///
3535-
/// [`char`]: primitive.char.html
3535+
/// [`char`]: ../../std/primitive.char.html
35363536
///
35373537
/// # Iterator behavior
35383538
///
@@ -3665,7 +3665,7 @@ impl str {
36653665
/// The pattern can be a [`char`] or a closure that determines if a
36663666
/// character matches.
36673667
///
3668-
/// [`char`]: primitive.char.html
3668+
/// [`char`]: ../../std/primitive.char.html
36693669
///
36703670
/// # Examples
36713671
///
@@ -3711,7 +3711,7 @@ impl str {
37113711
/// The pattern can be a `&str`, [`char`], or a closure that determines if
37123712
/// a character matches.
37133713
///
3714-
/// [`char`]: primitive.char.html
3714+
/// [`char`]: ../../std/primitive.char.html
37153715
///
37163716
/// # Text directionality
37173717
///
@@ -3750,7 +3750,7 @@ impl str {
37503750
/// The pattern can be a `&str`, [`char`], or a closure that
37513751
/// determines if a character matches.
37523752
///
3753-
/// [`char`]: primitive.char.html
3753+
/// [`char`]: ../../std/primitive.char.html
37543754
///
37553755
/// # Text directionality
37563756
///

0 commit comments

Comments
 (0)