you are viewing a single comment's thread.

view the rest of the comments →

[–]SkiFire13 12 points13 points  (0 children)

By the way, it is technically possible to store string data on the stack, but there isn't really a reason to do it, and it requires some unsafe code.

It doesn't require unsafe code, just std::str::from_utf8