Skip to content

Commit

Permalink
Add "chr" as doc alias to char::from_u32
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilaBorowska committed Dec 28, 2020
1 parent 6c523a7 commit b3be9e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/char/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit b3be9e1

Please sign in to comment.