Rollup merge of #129832 - eduardosm:stray-dot, r=jhpratt

Remove stray dot in `std::char::from_u32_unchecked` documentation
This commit is contained in:
Matthias Krüger 2024-09-01 03:58:06 +02:00 committed by GitHub
commit 2261ffa19f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,7 +122,7 @@ pub const fn from_u32(i: u32) -> Option<char> {
self::convert::from_u32(i) 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. /// instead.
#[stable(feature = "char_from_unchecked", since = "1.5.0")] #[stable(feature = "char_from_unchecked", since = "1.5.0")]
#[rustc_const_stable(feature = "const_char_from_u32_unchecked", since = "1.81.0")] #[rustc_const_stable(feature = "const_char_from_u32_unchecked", since = "1.81.0")]