Add "chr" as doc alias to char::from_u32
This commit is contained in:
parent
6c523a7a0e
commit
b3be9e1092
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ use super::MAX;
|
||||||
///
|
///
|
||||||
/// assert_eq!(None, c);
|
/// assert_eq!(None, c);
|
||||||
/// ```
|
/// ```
|
||||||
|
#[doc(alias = "chr")]
|
||||||
#[inline]
|
#[inline]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub fn from_u32(i: u32) -> Option<char> {
|
pub fn from_u32(i: u32) -> Option<char> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue