5 for i in &x { println!("{}", *i); y += *i; }
8 let s = "hello there".to_string();
11 if i == 0 { assert_eq!(c, 'h' as u8); }
12 if i == 1 { assert_eq!(c, 'e' as u8); }
13 if i == 2 { assert_eq!(c, 'l' as u8); }
14 if i == 3 { assert_eq!(c, 'l' as u8); }
15 if i == 4 { assert_eq!(c, 'o' as u8); }