2 Check for unnecessary `if let` usage in a for loop
3 where only the `Some` or `Ok` variant of the iterator element is used.
6 It is verbose and can be simplified
7 by first calling the `flatten` method on the `Iterator`.
12 let x = vec![Some(1), Some(2), Some(3)];
21 let x = vec![Some(1), Some(2), Some(3)];
22 for n in x.into_iter().flatten() {