Hello, I am the one of newbie of student from Korea.
Before asking, I'm not good at English well
let mut s1 = String::new();
s1 = String::from("Hello");
s1.push_str(", World!");
println!("{}", s1);
In this code( or like this ), why the compiler warn "value assigned to 's1' is never read." ?
It can be compiled but i just wonder this caused by ownership or variable syntax.