Hacker News new | ask | show | jobs
by andrewstuart 1215 days ago
Grrrrr.....

let a: String = "Hello world".to_string();

1 comments

But this allocates a new string instead of being a slice to the data in the binary in memory loaded by the os, doesn't it?