DEV Community

Discussion on: C++ Developer Learning Rust!

Collapse
 
berkus profile image
Berkus Decker

Hi

The "char" type is actually 4 bytes and contains the character's Unicode code point

Actually, it is NOT (it's a strict subset).
Unicode is tricky, I know.

Collapse
 
rhymu profile image
Rhymu

I must have misunderstood the book; thanks for pointing this out! I'll have to go back and study that part in more detail.