fn main() { let a = String::from("foo"); let b = "bar"; // + takes ownership of `a` and borrows the right side let joined = a + b; println!("{joined}"); }
+ consumes the left String