This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,12 @@ 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
26+ /// [`char`]: crate:: char
27+ /// [`u32`]: crate:: u32
2828///
2929/// For an unsafe version of this function which ignores these checks, see
3030/// [`from_u32_unchecked`].
3131///
32- /// [`from_u32_unchecked`]: fn.from_u32_unchecked.html
33- ///
3432/// # Examples
3533///
3634/// Basic usage:
@@ -74,17 +72,15 @@ pub fn from_u32(i: u32) -> Option<char> {
7472/// [`char`]s. `from_u32_unchecked()` will ignore this, and blindly cast to
7573/// [`char`], possibly creating an invalid one.
7674///
77- /// [`char`]: ../../std/primitive. char.html
78- /// [`u32`]: ../../std/primitive. u32.html
75+ /// [`char`]: crate:: char
76+ /// [`u32`]: crate:: u32
7977///
8078/// # Safety
8179///
8280/// This function is unsafe, as it may construct invalid `char` values.
8381///
8482/// For a safe version of this function, see the [`from_u32`] function.
8583///
86- /// [`from_u32`]: fn.from_u32.html
87- ///
8884/// # Examples
8985///
9086/// Basic usage:
You can’t perform that action at this time.
0 commit comments