Why is capitalizing the first letter of a string so convoluted in Rust?
Why is it so convoluted? Let’s break it down, line-by-line let s1 = “foobar”; We’ve created a literal string that is encoded in UTF-8. UTF-8 allows us to encode the 1,114,112 code points of Unicode in a manner that’s pretty compact if you come from a region of the world that types in mostly characters … Read more