Link to primitive instead of module
This commit is contained in:
parent
ebcb99ef8f
commit
14b50ede7d
1 changed files with 0 additions and 6 deletions
|
@ -23,9 +23,6 @@ use super::MAX;
|
||||||
/// [`char`]s. `from_u32()` will return `None` if the input is not a valid value
|
/// [`char`]s. `from_u32()` will return `None` if the input is not a valid value
|
||||||
/// for a [`char`].
|
/// for a [`char`].
|
||||||
///
|
///
|
||||||
/// [`char`]: crate::char
|
|
||||||
/// [`u32`]: crate::u32
|
|
||||||
///
|
|
||||||
/// For an unsafe version of this function which ignores these checks, see
|
/// For an unsafe version of this function which ignores these checks, see
|
||||||
/// [`from_u32_unchecked`].
|
/// [`from_u32_unchecked`].
|
||||||
///
|
///
|
||||||
|
@ -72,9 +69,6 @@ pub fn from_u32(i: u32) -> Option<char> {
|
||||||
/// [`char`]s. `from_u32_unchecked()` will ignore this, and blindly cast to
|
/// [`char`]s. `from_u32_unchecked()` will ignore this, and blindly cast to
|
||||||
/// [`char`], possibly creating an invalid one.
|
/// [`char`], possibly creating an invalid one.
|
||||||
///
|
///
|
||||||
/// [`char`]: crate::char
|
|
||||||
/// [`u32`]: crate::u32
|
|
||||||
///
|
|
||||||
/// # Safety
|
/// # Safety
|
||||||
///
|
///
|
||||||
/// This function is unsafe, as it may construct invalid `char` values.
|
/// This function is unsafe, as it may construct invalid `char` values.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue