From 77cf0ba112b147e015ae77878674ad78ed5edf99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20S=C3=A1nchez=20Mu=C3=B1oz?= Date: Sat, 31 Aug 2024 21:54:29 +0200 Subject: [PATCH] Remove stray dot in `std::char::from_u32_unchecked` documentation --- core/src/char/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/char/mod.rs b/core/src/char/mod.rs index e6574ac3c7278..fa3c2075423bc 100644 --- a/core/src/char/mod.rs +++ b/core/src/char/mod.rs @@ -122,7 +122,7 @@ pub const fn from_u32(i: u32) -> Option { 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")]