Skip to content

Commit

Permalink
Rollup merge of rust-lang#129832 - eduardosm:stray-dot, r=jhpratt
Browse files Browse the repository at this point in the history
Remove stray dot in `std::char::from_u32_unchecked` documentation
  • Loading branch information
matthiaskrgr authored Sep 1, 2024
2 parents 60f37e4 + 77cf0ba commit 759399b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/char/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub const fn from_u32(i: u32) -> Option<char> {
self::convert::from_u32(i)
}

/// Converts a `u32` to a `char`, ignoring validity. Use [`char::from_u32_unchecked`].
/// Converts a `u32` to a `char`, ignoring validity. Use [`char::from_u32_unchecked`]
/// instead.
#[stable(feature = "char_from_unchecked", since = "1.5.0")]
#[rustc_const_stable(feature = "const_char_from_u32_unchecked", since = "1.81.0")]
Expand Down

0 comments on commit 759399b

Please sign in to comment.