Closed
Description
What it does
What does this lint do?
Checks for usage of _.map(_).flatten()
,
This is like https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten but for Option
s instead of Iterator
s
Categories (optional)
- Kind: clippy::style/complexity
Easier to follow what's happening, shorter
Drawbacks
None.
Example
Inspired by @steffahn's suggestion in Nadrieril/dhall-rust#213 (comment)