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::*;
9
9
10
10
#[ lang = "char" ]
11
11
impl char {
12
- /// The highest valid code point a `char` can have.
12
+ /// The highest valid code point a `char` can have, 0x10FFFF .
13
13
///
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` .
17
17
///
18
18
/// [Unicode Scalar Value]: https://www.unicode.org/glossary/#unicode_scalar_value
19
19
/// [Code Point]: https://www.unicode.org/glossary/#code_point
You can’t perform that action at this time.
0 commit comments