2 Checks for usages of `Iterator::flat_map()` where `filter_map()` could be
6 When applicable, `filter_map()` is more clear since it shows that
7 `Option` is used to produce 0 or 1 items.
11 let nums: Vec<i32> = ["1", "2", "whee!"].iter().flat_map(|x| x.parse().ok()).collect();
15 let nums: Vec<i32> = ["1", "2", "whee!"].iter().filter_map(|x| x.parse().ok()).collect();