blob: d9e5e768ab1122f8567f7f181b1ab4d685180886 [file] [log] [blame]
fn main() {
// ANCHOR: here
let data = "initial contents";
let s = data.to_string();
// the method also works on a literal directly:
let s = "initial contents".to_string();
// ANCHOR_END: here
}