7 ms·
Grrrrr..... let a: String = "Hello world".to_string();
by andrewstuart 4y ago
Grrrrr.....
let a: String = "Hello world".to_string();
- lytedev 4y agoBut 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?