po8•

Found out the other day that FromIterator<String> is also implemented as concatenation for String. Weird but true.

let v: String = ["hello", "world"].iter().copied().map(str::to_owned).collect();
assert_eq!("helloworld", v);
5