about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-01 03:58:06 +0200
committerGitHub <noreply@github.com>2024-09-01 03:58:06 +0200
commit2261ffa19fc8066b69f3498e106cd951e346e74c (patch)
tree03fad7571c56b3860e7e4207872673416b47d86a
parentf040e689c0bd64769965db64ca204b99fad46ead (diff)
parentd4e708f1bc92cb6e284fb8c8f9fe043fb90e226b (diff)
downloadrust-2261ffa19fc8066b69f3498e106cd951e346e74c.tar.gz
rust-2261ffa19fc8066b69f3498e106cd951e346e74c.zip
Rollup merge of #129832 - eduardosm:stray-dot, r=jhpratt
Remove stray dot in `std::char::from_u32_unchecked` documentation
-rw-r--r--library/core/src/char/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/char/mod.rs b/library/core/src/char/mod.rs
index e6574ac3c72..fa3c2075423 100644
--- a/library/core/src/char/mod.rs
+++ b/library/core/src/char/mod.rs
@@ -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")]