@@ -112,7 +112,7 @@ impl char {
112
112
/// For an unsafe version of this function which ignores these checks, see
113
113
/// [`from_u32_unchecked`].
114
114
///
115
- /// [`from_u32_unchecked`]: crate::primitive::char:: from_u32_unchecked()
115
+ /// [`from_u32_unchecked`]: #method. from_u32_unchecked
116
116
///
117
117
/// # Examples
118
118
///
@@ -163,7 +163,7 @@ impl char {
163
163
///
164
164
/// For a safe version of this function, see the [`from_u32`] function.
165
165
///
166
- /// [`from_u32`]: crate::primitive::char:: from_u32()
166
+ /// [`from_u32`]: #method. from_u32
167
167
///
168
168
/// # Examples
169
169
///
@@ -256,7 +256,7 @@ impl char {
256
256
///
257
257
/// For a more comprehensive understanding of 'digit', see [`is_numeric()`].
258
258
///
259
- /// [`is_numeric()`]: crate::primitive::char:: is_numeric()
259
+ /// [`is_numeric()`]: #method. is_numeric
260
260
///
261
261
/// # Panics
262
262
///
@@ -481,7 +481,7 @@ impl char {
481
481
/// * All other characters are given hexadecimal Unicode escapes; see
482
482
/// [`escape_unicode`].
483
483
///
484
- /// [`escape_unicode`]: crate::primitive::char:: escape_unicode()
484
+ /// [`escape_unicode`]: #method. escape_unicode
485
485
///
486
486
/// # Examples
487
487
///
@@ -582,7 +582,7 @@ impl char {
582
582
/// See the documentation for [`len_utf8()`] for more explanation of this
583
583
/// concept. This function is a mirror, but for UTF-16 instead of UTF-8.
584
584
///
585
- /// [`len_utf8()`]: crate::primitive::char:: len_utf8()
585
+ /// [`len_utf8()`]: #method. len_utf8
586
586
///
587
587
/// # Examples
588
588
///
@@ -797,8 +797,8 @@ impl char {
797
797
798
798
/// Returns `true` if this `char` satisfies either [`is_alphabetic()`] or [`is_numeric()`].
799
799
///
800
- /// [`is_alphabetic()`]: crate::primitive::char:: is_alphabetic()
801
- /// [`is_numeric()`]: crate::primitive::char:: is_numeric()
800
+ /// [`is_alphabetic()`]: #method. is_alphabetic
801
+ /// [`is_numeric()`]: #method. is_numeric
802
802
///
803
803
/// # Examples
804
804
///
@@ -1085,8 +1085,8 @@ impl char {
1085
1085
/// assert_eq!('❤', non_ascii.to_ascii_uppercase());
1086
1086
/// ```
1087
1087
///
1088
- /// [`make_ascii_uppercase()`]: crate::primitive::char:: make_ascii_uppercase()
1089
- /// [`to_uppercase()`]: crate::primitive::char:: to_uppercase()
1088
+ /// [`make_ascii_uppercase()`]: #method. make_ascii_uppercase
1089
+ /// [`to_uppercase()`]: #method. to_uppercase
1090
1090
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1091
1091
#[ inline]
1092
1092
pub fn to_ascii_uppercase ( & self ) -> char {
@@ -1113,8 +1113,8 @@ impl char {
1113
1113
/// assert_eq!('❤', non_ascii.to_ascii_lowercase());
1114
1114
/// ```
1115
1115
///
1116
- /// [`make_ascii_lowercase()`]: crate::primitive::char:: make_ascii_lowercase()
1117
- /// [`to_lowercase()`]: crate::primitive::char:: to_lowercase()
1116
+ /// [`make_ascii_lowercase()`]: #method. make_ascii_lowercase
1117
+ /// [`to_lowercase()`]: #method. to_lowercase
1118
1118
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1119
1119
#[ inline]
1120
1120
pub fn to_ascii_lowercase ( & self ) -> char {
@@ -1160,7 +1160,7 @@ impl char {
1160
1160
/// assert_eq!('A', ascii);
1161
1161
/// ```
1162
1162
///
1163
- /// [`to_ascii_uppercase()`]: crate::primitive::char:: to_ascii_uppercase()
1163
+ /// [`to_ascii_uppercase()`]: #method. to_ascii_uppercase
1164
1164
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1165
1165
#[ inline]
1166
1166
pub fn make_ascii_uppercase ( & mut self ) {
@@ -1185,7 +1185,7 @@ impl char {
1185
1185
/// assert_eq!('a', ascii);
1186
1186
/// ```
1187
1187
///
1188
- /// [`to_ascii_lowercase()`]: crate::primitive::char:: to_ascii_lowercase()
1188
+ /// [`to_ascii_lowercase()`]: #method. to_ascii_lowercase
1189
1189
#[ stable( feature = "ascii_methods_on_intrinsics" , since = "1.23.0" ) ]
1190
1190
#[ inline]
1191
1191
pub fn make_ascii_lowercase ( & mut self ) {
0 commit comments