fn main() { let string_list = vec!["Foo".to_string(),"Bar".to_string()]; let joined = string_list.join("-"); assert_eq!("Foo-Bar", joined); }let text1 = "hello".to_owned(); let text2 = text1 + " world"; println!("{}", text2);fn main() { let mut string = String::from("Hello"); string.push_str(" World"); println!("{}", string); }