Strings
&str
s and Vec
s and slices (and Unicode) – oh, my!
This episode, I take a deep dive on strings in Rust, looking at the differences between String
and &str
, discussing Unicode a bit, and then expanding the discussion to think about how these types relate to the types they're built on (like Vec
).
Listen! (special rocket listen-symbol because Unicode!)