Skip to content

Commit b3be9e1

Browse files
Add "chr" as doc alias to char::from_u32
1 parent 6c523a7 commit b3be9e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/char/convert.rs

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ use super::MAX;
4747
///
4848
/// assert_eq!(None, c);
4949
/// ```
50+
#[doc(alias = "chr")]
5051
#[inline]
5152
#[stable(feature = "rust1", since = "1.0.0")]
5253
pub fn from_u32(i: u32) -> Option<char> {

0 commit comments

Comments
 (0)