Follow

@trevdev@mastodon.technology Not a Rust expert, but `<char> as u8` just results in the numerical unicode value of that character, in the form of an unsigned 8-bit integer, right? So `'a' as u8` should be greater than `'z' as u8`, and it will continue to iterate until the unicode value of the character is greater than that of z is.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.