String
s are allocated on the heap and usually Rust requires an explicit operation in the code for that.
let s = o"my string";
is just:
let s = "my string".to_owned();
making explicit that memory will be allocated and data from the string will be copied.