redundant_closure should be in the Perf group #3468
Labels
A-category
Area: Categorization of lints
S-needs-discussion
Status: Needs further discussion before merging or work can be started
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 forOption::map
; I haven't checked. But definitely forFuture::map
it cannot).The text was updated successfully, but these errors were encountered: