News for hackers. Stuff that matters.
Re:Rust explained using easy English by lifthrasiir on Thursday July 23, 2020 @03:15AM (#23924930)
Because char's range has a hole from 0xd800 to 0xd8ff (surrogate pairs [1]) so not all u16 values (or larger) can be safely converted to char.

[1] https://en.wikipedia.org/wiki/UTF-16#U+D800_to_U+DFFF

Re:Rust explained using easy English by ChrisSD on Thursday July 23, 2020 @06:17AM (#23925817)
Additionally Unicode only goes up to U+10FFFF (1,114,112 code points) which is far short of a full 32 bits (4,294,967,295 values).