Skip to content

Commit 40e541f

Browse files
committed
Add "chr" as doc alias to char::from_u32
1 parent 7b2eeca commit 40e541f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/char/convert.rs

Lines changed: 1 addition & 0 deletions
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)