Skip to content

Commit 77cf0ba

Browse files
committed
Remove stray dot in std::char::from_u32_unchecked documentation
1 parent 24ed1c1 commit 77cf0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/src/char/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub const fn from_u32(i: u32) -> Option<char> {
122122
self::convert::from_u32(i)
123123
}
124124

125-
/// Converts a `u32` to a `char`, ignoring validity. Use [`char::from_u32_unchecked`].
125+
/// Converts a `u32` to a `char`, ignoring validity. Use [`char::from_u32_unchecked`]
126126
/// instead.
127127
#[stable(feature = "char_from_unchecked", since = "1.5.0")]
128128
#[rustc_const_stable(feature = "const_char_from_u32_unchecked", since = "1.81.0")]

0 commit comments

Comments
 (0)