Constant core::char::MAX

1.0.0· source[]
pub const MAX: char = char::MAX; // '\u{10ffff}'
Expand description

The highest valid code point a char can have.

A char is a Unicode Scalar Value, which means that it is a Code Point, but only ones within a certain range. MAX is the highest valid code point that’s a valid Unicode Scalar Value.