From 14b50ede7de344ee99692dbab7d4b88a87c6c9ba Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Sat, 15 Aug 2020 19:27:34 +0200 Subject: [PATCH] Link to primitive instead of module --- library/core/src/char/convert.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/library/core/src/char/convert.rs b/library/core/src/char/convert.rs index 1043e0e0c21..394db5b5917 100644 --- a/library/core/src/char/convert.rs +++ b/library/core/src/char/convert.rs @@ -23,9 +23,6 @@ use super::MAX; /// [`char`]s. `from_u32()` will return `None` if the input is not a valid value /// for a [`char`]. /// -/// [`char`]: crate::char -/// [`u32`]: crate::u32 -/// /// For an unsafe version of this function which ignores these checks, see /// [`from_u32_unchecked`]. /// @@ -72,9 +69,6 @@ pub fn from_u32(i: u32) -> Option { /// [`char`]s. `from_u32_unchecked()` will ignore this, and blindly cast to /// [`char`], possibly creating an invalid one. /// -/// [`char`]: crate::char -/// [`u32`]: crate::u32 -/// /// # Safety /// /// This function is unsafe, as it may construct invalid `char` values.