@@ -2117,8 +2117,6 @@ impl str {
2117
2117
/// This length is in bytes, not [`char`]s or graphemes. In other words,
2118
2118
/// it may not be what a human considers the length of the string.
2119
2119
///
2120
- /// [`char`]: primitive.char.html
2121
- ///
2122
2120
/// # Examples
2123
2121
///
2124
2122
/// Basic usage:
@@ -2590,8 +2588,6 @@ impl str {
2590
2588
/// Value, and may not match your idea of what a 'character' is. Iteration
2591
2589
/// over grapheme clusters may be what you actually want.
2592
2590
///
2593
- /// [`char`]: primitive.char.html
2594
- ///
2595
2591
/// # Examples
2596
2592
///
2597
2593
/// Basic usage:
@@ -2643,8 +2639,6 @@ impl str {
2643
2639
/// The iterator yields tuples. The position is first, the [`char`] is
2644
2640
/// second.
2645
2641
///
2646
- /// [`char`]: primitive.char.html
2647
- ///
2648
2642
/// # Examples
2649
2643
///
2650
2644
/// Basic usage:
@@ -2946,7 +2940,6 @@ impl str {
2946
2940
/// The pattern can be a `&str`, [`char`], or a closure that determines if
2947
2941
/// a character matches.
2948
2942
///
2949
- /// [`char`]: primitive.char.html
2950
2943
/// [`None`]: option/enum.Option.html#variant.None
2951
2944
///
2952
2945
/// # Examples
@@ -2994,7 +2987,6 @@ impl str {
2994
2987
/// The pattern can be a `&str`, [`char`], or a closure that determines if
2995
2988
/// a character matches.
2996
2989
///
2997
- /// [`char`]: primitive.char.html
2998
2990
/// [`None`]: option/enum.Option.html#variant.None
2999
2991
///
3000
2992
/// # Examples
@@ -3050,7 +3042,6 @@ impl str {
3050
3042
/// If the pattern allows a reverse search but its results might differ
3051
3043
/// from a forward search, the [`rsplit`] method can be used.
3052
3044
///
3053
- /// [`char`]: primitive.char.html
3054
3045
/// [`rsplit`]: #method.rsplit
3055
3046
///
3056
3047
/// # Examples
@@ -3157,8 +3148,6 @@ impl str {
3157
3148
/// The pattern can be a `&str`, [`char`], or a closure that determines the
3158
3149
/// split.
3159
3150
///
3160
- /// [`char`]: primitive.char.html
3161
- ///
3162
3151
/// # Iterator behavior
3163
3152
///
3164
3153
/// The returned iterator requires that the pattern supports a reverse
@@ -3224,7 +3213,6 @@ impl str {
3224
3213
/// elements. This is true for, eg, [`char`] but not for `&str`.
3225
3214
///
3226
3215
/// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
3227
- /// [`char`]: primitive.char.html
3228
3216
///
3229
3217
/// If the pattern allows a reverse search but its results might differ
3230
3218
/// from a forward search, the [`rsplit_terminator`] method can be used.
@@ -3259,8 +3247,6 @@ impl str {
3259
3247
/// Additional libraries might provide more complex patterns like
3260
3248
/// regular expressions.
3261
3249
///
3262
- /// [`char`]: primitive.char.html
3263
- ///
3264
3250
/// Equivalent to [`split`], except that the trailing substring is
3265
3251
/// skipped if empty.
3266
3252
///
@@ -3306,8 +3292,6 @@ impl str {
3306
3292
/// The pattern can be a `&str`, [`char`], or a closure that determines the
3307
3293
/// split.
3308
3294
///
3309
- /// [`char`]: primitive.char.html
3310
- ///
3311
3295
/// # Iterator behavior
3312
3296
///
3313
3297
/// The returned iterator will not be double ended, because it is
@@ -3361,8 +3345,6 @@ impl str {
3361
3345
/// The pattern can be a `&str`, [`char`], or a closure that
3362
3346
/// determines the split.
3363
3347
///
3364
- /// [`char`]: primitive.char.html
3365
- ///
3366
3348
/// # Iterator behavior
3367
3349
///
3368
3350
/// The returned iterator will not be double ended, because it is not
@@ -3407,16 +3389,13 @@ impl str {
3407
3389
/// The pattern can be a `&str`, [`char`], or a closure that
3408
3390
/// determines if a character matches.
3409
3391
///
3410
- /// [`char`]: primitive.char.html
3411
- ///
3412
3392
/// # Iterator behavior
3413
3393
///
3414
3394
/// The returned iterator will be a [`DoubleEndedIterator`] if the pattern
3415
3395
/// allows a reverse search and forward/reverse search yields the same
3416
3396
/// elements. This is true for, eg, [`char`] but not for `&str`.
3417
3397
///
3418
3398
/// [`DoubleEndedIterator`]: iter/trait.DoubleEndedIterator.html
3419
- /// [`char`]: primitive.char.html
3420
3399
///
3421
3400
/// If the pattern allows a reverse search but its results might differ
3422
3401
/// from a forward search, the [`rmatches`] method can be used.
@@ -3446,8 +3425,6 @@ impl str {
3446
3425
/// The pattern can be a `&str`, [`char`], or a closure that determines if
3447
3426
/// a character matches.
3448
3427
///
3449
- /// [`char`]: primitive.char.html
3450
- ///
3451
3428
/// # Iterator behavior
3452
3429
///
3453
3430
/// The returned iterator requires that the pattern supports a reverse
@@ -3488,8 +3465,6 @@ impl str {
3488
3465
/// The pattern can be a `&str`, [`char`], or a closure that determines
3489
3466
/// if a character matches.
3490
3467
///
3491
- /// [`char`]: primitive.char.html
3492
- ///
3493
3468
/// # Iterator behavior
3494
3469
///
3495
3470
/// The returned iterator will be a [`DoubleEndedIterator`] if the pattern
@@ -3532,8 +3507,6 @@ impl str {
3532
3507
/// The pattern can be a `&str`, [`char`], or a closure that determines if a
3533
3508
/// character matches.
3534
3509
///
3535
- /// [`char`]: primitive.char.html
3536
- ///
3537
3510
/// # Iterator behavior
3538
3511
///
3539
3512
/// The returned iterator requires that the pattern supports a reverse
@@ -3665,8 +3638,6 @@ impl str {
3665
3638
/// The pattern can be a [`char`] or a closure that determines if a
3666
3639
/// character matches.
3667
3640
///
3668
- /// [`char`]: primitive.char.html
3669
- ///
3670
3641
/// # Examples
3671
3642
///
3672
3643
/// Simple patterns:
@@ -3711,8 +3682,6 @@ impl str {
3711
3682
/// The pattern can be a `&str`, [`char`], or a closure that determines if
3712
3683
/// a character matches.
3713
3684
///
3714
- /// [`char`]: primitive.char.html
3715
- ///
3716
3685
/// # Text directionality
3717
3686
///
3718
3687
/// A string is a sequence of bytes. 'Left' in this context means the first
@@ -3750,8 +3719,6 @@ impl str {
3750
3719
/// The pattern can be a `&str`, [`char`], or a closure that
3751
3720
/// determines if a character matches.
3752
3721
///
3753
- /// [`char`]: primitive.char.html
3754
- ///
3755
3722
/// # Text directionality
3756
3723
///
3757
3724
/// A string is a sequence of bytes. 'Right' in this context means the last
0 commit comments