fn main() { println!("Hello, world!"); } struct Solution {} impl Solution { pub fn find_difference(nums1: Vec, nums2: Vec) -> Vec> { let mut a: Vec = Vec::new(); let mut b: Vec = Vec::new(); for i in nums1 { if !nums2.contains(&i) && !nums1.contains(&i) { a.push(i); } } for i in nums2 { if !nums2.contains(&i) && !nums1.contains(&i) { b.push(i); } } vec![a,b] } }