If I can create a reference with no owner, where does the memory go?
So apparently this works
let test = &String::from("test");
println!("{}", test);
Who is the owner of the borrowed string and why is it not dropped immediately?
So apparently this works
let test = &String::from("test");
println!("{}", test);
Who is the owner of the borrowed string and why is it not dropped immediately?