rust concatenate static strings code example
Example: rust concatenate strings
let text1 = "hello".to_owned();
let text2 = text1 + " world";
println!("{}", text2);
let text1 = "hello".to_owned();
let text2 = text1 + " world";
println!("{}", text2);