A char is a scalar value, rather: https://doc.rust-lang.org/std/primitive.char.html
You're right, of course. Unicode terminology always trips me up. I have to remember that a scalar value is almost the same as a code point except that it excludes surrogates.
Re:Rust explained using easy English
by pelliphant on Thursday July 23, 2020 @06:49AM
(#23925974)
ok, thnx for clarifying.
An array of `char` would technically be UTF-32. Which isn't particularly useful, imho.