Skip to content

Commit 9d38dc2

Browse files
committed
Auto merge of rust-lang#75553 - denisvasilik:intra-doc-links-convert, r=jyn514
Move to intra-doc links for /library/core/src/char/convert.rs Helps with rust-lang#75080. @rustbot modify labels: T-doc, A-intra-doc-links, T-rustdoc
2 parents 86bccb6 + 14b50ed commit 9d38dc2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

library/core/src/char/convert.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,9 @@ use super::MAX;
2323
/// [`char`]s. `from_u32()` will return `None` if the input is not a valid value
2424
/// for a [`char`].
2525
///
26-
/// [`char`]: ../../std/primitive.char.html
27-
/// [`u32`]: ../../std/primitive.u32.html
28-
///
2926
/// For an unsafe version of this function which ignores these checks, see
3027
/// [`from_u32_unchecked`].
3128
///
32-
/// [`from_u32_unchecked`]: fn.from_u32_unchecked.html
33-
///
3429
/// # Examples
3530
///
3631
/// Basic usage:
@@ -74,17 +69,12 @@ pub fn from_u32(i: u32) -> Option<char> {
7469
/// [`char`]s. `from_u32_unchecked()` will ignore this, and blindly cast to
7570
/// [`char`], possibly creating an invalid one.
7671
///
77-
/// [`char`]: ../../std/primitive.char.html
78-
/// [`u32`]: ../../std/primitive.u32.html
79-
///
8072
/// # Safety
8173
///
8274
/// This function is unsafe, as it may construct invalid `char` values.
8375
///
8476
/// For a safe version of this function, see the [`from_u32`] function.
8577
///
86-
/// [`from_u32`]: fn.from_u32.html
87-
///
8878
/// # Examples
8979
///
9080
/// Basic usage:

0 commit comments

Comments
 (0)