File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ use super::*;
99
1010#[ lang = "char" ]
1111impl char {
12- /// The highest valid code point a `char` can have.
12+ /// The highest valid code point a `char` can have, 0x10FFFF .
1313 ///
14- /// A `char` is a [Unicode Scalar Value], which means that it is a [Code
15- /// Point], but only ones within a certain range. `MAX` is the highest valid
16- /// code point that's a valid [Unicode Scalar Value] .
14+ /// A [Code Point] is any value between zero and `char::MAX`, inclusive. A
15+ /// `char` is a [Unicode Scalar Value], which is a Code Point that is not
16+ /// in the range `0xD800..=0xDFFF` .
1717 ///
1818 /// [Unicode Scalar Value]: https://www.unicode.org/glossary/#unicode_scalar_value
1919 /// [Code Point]: https://www.unicode.org/glossary/#code_point
You can’t perform that action at this time.
0 commit comments