1 2 3 4 5 6 7 8 9 10 11 12 13 14
### What it does Checks for usage of `flat_map(|x| x)`. ### Why is this bad? Readability, this can be written more concisely by using `flatten`. ### Example ``` iter.flat_map(|x| x); ``` Can be written as ``` iter.flatten(); ```