Open
Description
The redundant_closure
lint should be in the Perf group. All those closures take code space. The optimizer can't combine closures, even if they're identical. (Perhaps it can for Option::map
; I haven't checked. But definitely for Future::map
it cannot).
> cargo +nightly clippy -V
clippy 0.0.212 (481f7880 2018-10-30)