Add "chr" as doc alias to char::from_u32

This commit is contained in:
Konrad Borowski 2020-12-28 09:29:42 +01:00
parent 6c523a7a0e
commit b3be9e1092

View File

@ -47,6 +47,7 @@ use super::MAX;
///
/// assert_eq!(None, c);
/// ```
#[doc(alias = "chr")]
#[inline]
#[stable(feature = "rust1", since = "1.0.0")]
pub fn from_u32(i: u32) -> Option<char> {