]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/char/convert.rs
Rollup merge of #75485 - RalfJung:pin, r=nagisa
[rust.git] / library / core / src / char / convert.rs
index c329eec76ac3d9e28afc61a2adae447ffa1006b5..394db5b5917f007a82253f9df9cfcc50b1d473cd 100644 (file)
 /// [`char`]s. `from_u32()` will return `None` if the input is not a valid value
 /// for a [`char`].
 ///
-/// [`char`]: ../../std/primitive.char.html
-/// [`u32`]: ../../std/primitive.u32.html
-///
 /// For an unsafe version of this function which ignores these checks, see
 /// [`from_u32_unchecked`].
 ///
-/// [`from_u32_unchecked`]: fn.from_u32_unchecked.html
-///
 /// # Examples
 ///
 /// Basic usage:
@@ -74,17 +69,12 @@ pub fn from_u32(i: u32) -> Option<char> {
 /// [`char`]s. `from_u32_unchecked()` will ignore this, and blindly cast to
 /// [`char`], possibly creating an invalid one.
 ///
-/// [`char`]: ../../std/primitive.char.html
-/// [`u32`]: ../../std/primitive.u32.html
-///
 /// # Safety
 ///
 /// This function is unsafe, as it may construct invalid `char` values.
 ///
 /// For a safe version of this function, see the [`from_u32`] function.
 ///
-/// [`from_u32`]: fn.from_u32.html
-///
 /// # Examples
 ///
 /// Basic usage: