1 2 3 4 5 6 7 8 9
#![allow(dead_code)] pub fn check() { let v = vec![1, 2, 3]; for i in &v { if v.contains(i) { println!("{i}"); } } }