fn main() {
let mut a = vec![1, 2, 3];
let mut b = vec![4, 5, 6];
a.append(&mut b);
assert_eq!(a, [1, 2, 3, 4, 5, 6]);
assert_eq!(b, []);
}
let text1 = "hello".to_owned();
let text2 = text1 + " world";
println!("{}", text2);
let s = concat!("test", 10, 'b', true); // concatenates string literals
assert_eq!(s, "test10btrue");