Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Character

Rust supports unicode characters. Notice that emojis are single unicode characters.

'a'
'😄'

char::from_u32

90
Some('Z')
Some('❤')

char::from_digit

Some('9')

char::to_uppercase

char::to_uppercase returns an interator instead of a char!

ToUppercase(One('A'))
Some('A')
'A'