jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:
let s1 = String::from("Hello, ");
let s2 = String::from("world!");
let s3 = s1 + &s2;
// s1 has been moved
// and can no longer be usedIgor
Must
Not
Forget
jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:
let s1 = String::from("Hello, ");
let s2 = String::from("world!");
let s3 = s1 + &s2;
// s1 has been moved
// and can no longer be usedIgor
Must
Not
Forget