-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
A-categoryArea: Categorization of lintsArea: Categorization of lintsS-needs-discussionStatus: Needs further discussion before merging or work can be startedStatus: Needs further discussion before merging or work can be started
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)
hcpl
Metadata
Metadata
Assignees
Labels
A-categoryArea: Categorization of lintsArea: Categorization of lintsS-needs-discussionStatus: Needs further discussion before merging or work can be startedStatus: Needs further discussion before merging or work can be started