1 2 3 4 5 6 7 8 9
// run-pass fn main() { let s = "Hello"; let first = s.bytes(); let second = first.clone(); assert_eq!(first.collect::<Vec<u8>>(), second.collect::<Vec<u8>>()) }