🦄: Hi Rust! I want to learn about your strings. This will be easy, right? Not weird like C.
🦀: But of course! We have String and &str. Or maybe you want some &mut String, &mut str, or &'static str?
🦄: 🖕
🦀: But of course! We have String and &str. Or maybe you want some &mut String, &mut str, or &'static str?
🦄: 🖕
Comments
Box
Cstring, &Cstr, Box
it's really hard to do transformations on that while maintaining utf-8 validity. i guess you could reverse the codepoints? reversing codepoints will often not do what you want, however.